aboutsummaryrefslogtreecommitdiff
path: root/sys/i386/conf/NOTES
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2002-07-15 19:25:40 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2002-07-15 19:25:40 +0000
commit30cce2ed6b3f9f320c07979740ac2137c0f336c2 (patch)
tree2eb6dab28b7a0e64d8edfba428aadf308a2a7945 /sys/i386/conf/NOTES
parent5e4fa8916dee27edd3003a1de449a5e20349af9a (diff)
downloadsrc-30cce2ed6b3f9f320c07979740ac2137c0f336c2.tar.gz
src-30cce2ed6b3f9f320c07979740ac2137c0f336c2.zip
Add a new VM options section. Move KSTACK_PAGES there from the MI NOTES
file and better document it. Add better documentation for the DISABLE_PSE option. Add the missing DISABLE_PG_G option and document it.
Notes
Notes: svn path=/head/; revision=100131
Diffstat (limited to 'sys/i386/conf/NOTES')
-rw-r--r--sys/i386/conf/NOTES28
1 files changed, 25 insertions, 3 deletions
diff --git a/sys/i386/conf/NOTES b/sys/i386/conf/NOTES
index 7730730d598a..161903ea3b3d 100644
--- a/sys/i386/conf/NOTES
+++ b/sys/i386/conf/NOTES
@@ -918,6 +918,31 @@ options COMPAT_SVR4 # build emulator statically
options DEBUG_SVR4 # enable verbose debugging
device streams # STREAMS network driver (required for svr4).
+
+#####################################################################
+# VM OPTIONS
+
+# Disable the 4 MByte page PSE CPU feature. The PSE feature allows the
+# kernel to use a 4 MByte pages to map the kernel instead of 4k pages.
+# This saves on the amount of memory needed for page tables needed to
+# map the kernel. You should only disable this feature as a temporary
+# workaround if you are having problems with it enabled.
+#
+#options DISABLE_PSE
+
+# Disable the global pages PGE CPU feature. The PGE feature allows pages
+# to be marked with the PG_G bit. TLB entries for these pages are not
+# flushed from the cache when %cr3 is reloaded. This can make context
+# switches less expensive. You should only disable this feature as a
+# temporary workaround if you are having problems with it enabled.
+#
+#options DISABLE_PG_G
+
+# KSTACK_PAGES is the number of memory pages to assign to the kernel
+# stack of each thread.
+
+options KSTACK_PAGES=3
+
#####################################################################
# More undocumented options for linting.
@@ -927,9 +952,6 @@ device streams # STREAMS network driver (required for svr4).
options PECOFF_SUPPORT
options PECOFF_DEBUG
-# Disable the 4 MByte PSE CPU feature.
-#options DISABLE_PSE
-
options ENABLE_ALART
options I4B_SMP_WORKAROUND
options I586_PMC_GUPROF=0x70000