summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2002-07-15 19:25:40 +0000
committerjhb <jhb@FreeBSD.org>2002-07-15 19:25:40 +0000
commit6d76018028ca335fdd659dc55664bd839872de1d (patch)
tree2eb6dab28b7a0e64d8edfba428aadf308a2a7945 /sys
parent1684d8745f0e904f4d64d8fa60e1e5d0cd679b20 (diff)
downloadFreeBSD-src-6d76018028ca335fdd659dc55664bd839872de1d.zip
FreeBSD-src-6d76018028ca335fdd659dc55664bd839872de1d.tar.gz
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.
Diffstat (limited to 'sys')
-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 7730730..161903e 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
OpenPOWER on IntegriCloud