summaryrefslogtreecommitdiffstats
path: root/sys/boot/forth
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2004-01-27 15:59:38 +0000
committerdes <des@FreeBSD.org>2004-01-27 15:59:38 +0000
commit8b1373b33e38c4dc3c45820ed545b32ab925a42f (patch)
tree9e58d7f936db3e7c9b66ae5062591d65e619d74c /sys/boot/forth
parent58a1b901a48dccc815bfbd085b4cc8daa118b51a (diff)
downloadFreeBSD-src-8b1373b33e38c4dc3c45820ed545b32ab925a42f.zip
FreeBSD-src-8b1373b33e38c4dc3c45820ed545b32ab925a42f.tar.gz
Rename the kern.vm.kmem.size tunable to the more logical vm.kmem_size. To
assure backward compatibility (conditional on !BURN_BRIDGES), look it up by its old name first, and log a warning (but accept the setting) if it was found. If both the old and new name are defined, the new name takes precedence. Also export vm.kmem_size as a read-only sysctl variable; I find it hard to tune a parameter when I don't know its default value, especially when that default value is computed at boot time.
Diffstat (limited to 'sys/boot/forth')
-rw-r--r--sys/boot/forth/loader.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/forth/loader.conf b/sys/boot/forth/loader.conf
index 18c34d0..48791d7 100644
--- a/sys/boot/forth/loader.conf
+++ b/sys/boot/forth/loader.conf
@@ -96,10 +96,10 @@ module_path="/boot/kernel;/boot/modules" # Set the module search path
#kern.ipc.nmbclusters="" # Set the number of mbuf clusters
#kern.ipc.nmbufs="" # Set the maximum number of mbufs
#kern.ipc.nsfbufs="" # Set the number of sendfile(2) bufs
-#kern.vm.kmem.size="" # Sets the size of kernel memory (bytes)
#net.inet.tcp.tcbhashsize="" # Set the value of TCBHASHSIZE
#vfs.root.mountfrom="" # Specify root partition in a way the
# kernel understands
+#vm.kmem_size="" # Sets the size of kernel memory (bytes)
#debug.ktr.cpumask="0xf" # Bitmask of CPUs to enable KTR on
#debug.ktr.mask="0x1200" # Bitmask of KTR events to enable
#debug.ktr.verbose="1" # Enable console dump of KTR events
OpenPOWER on IntegriCloud