diff options
author | dillon <dillon@FreeBSD.org> | 2001-01-15 06:45:01 +0000 |
---|---|---|
committer | dillon <dillon@FreeBSD.org> | 2001-01-15 06:45:01 +0000 |
commit | 9964ecd37f8978a5446d3d974147719a0042dc05 (patch) | |
tree | 8e38a028a04b531dd37dfff0d78a0e51af2851a6 /sys | |
parent | b2aacf063dc76b13810852276ffe244d1b13a7ab (diff) | |
download | FreeBSD-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')
-rw-r--r-- | sys/conf/NOTES | 7 | ||||
-rw-r--r-- | sys/i386/conf/NOTES | 7 |
2 files changed, 12 insertions, 2 deletions
diff --git a/sys/conf/NOTES b/sys/conf/NOTES index 364543f..5a8d17e 100644 --- a/sys/conf/NOTES +++ b/sys/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 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 |