summaryrefslogtreecommitdiffstats
path: root/sys/i386
diff options
context:
space:
mode:
authordillon <dillon@FreeBSD.org>2001-01-15 06:45:01 +0000
committerdillon <dillon@FreeBSD.org>2001-01-15 06:45:01 +0000
commit9964ecd37f8978a5446d3d974147719a0042dc05 (patch)
tree8e38a028a04b531dd37dfff0d78a0e51af2851a6 /sys/i386
parentb2aacf063dc76b13810852276ffe244d1b13a7ab (diff)
downloadFreeBSD-src-9964ecd37f8978a5446d3d974147719a0042dc05.zip
FreeBSD-src-9964ecd37f8978a5446d3d974147719a0042dc05.tar.gz
Make NSWAPDEV reasonable so people do not mistakenly use unreasonable
values when creating custom kernels from LINT. Suggested-by: "Louis A. Mamakos" <louie@TransSys.COM>
Diffstat (limited to 'sys/i386')
-rw-r--r--sys/i386/conf/NOTES7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/i386/conf/NOTES b/sys/i386/conf/NOTES
index 364543f..5a8d17e 100644
--- a/sys/i386/conf/NOTES
+++ b/sys/i386/conf/NOTES
@@ -710,7 +710,12 @@ options MD_ROOT
options MD_NSECT=40000
# Allow this many swap-devices.
-options NSWAPDEV=20
+#
+# In order to manage swap, the system must reserve bitmap space that
+# scales with the largest mounted swap device multiplied by NSWAPDEV,
+# irregardless of whether other swap devices exist or not. So it
+# is not a good idea to make this value too large.
+options NSWAPDEV=4
# Disk quotas are supported when this option is enabled.
options QUOTA #enable disk quotas
OpenPOWER on IntegriCloud