diff options
author | des <des@FreeBSD.org> | 2004-01-27 15:59:38 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2004-01-27 15:59:38 +0000 |
commit | 8b1373b33e38c4dc3c45820ed545b32ab925a42f (patch) | |
tree | 9e58d7f936db3e7c9b66ae5062591d65e619d74c /sys/boot/common/help.common | |
parent | 58a1b901a48dccc815bfbd085b4cc8daa118b51a (diff) | |
download | FreeBSD-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/common/help.common')
-rw-r--r-- | sys/boot/common/help.common | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/common/help.common b/sys/boot/common/help.common index a6fd748..8b68157 100644 --- a/sys/boot/common/help.common +++ b/sys/boot/common/help.common @@ -244,7 +244,7 @@ Set the number of sendfile buffers to be allocated. This overrides the value determined when the kernel was compiled. - set kern.vm.kmem.size=<value> VM_KMEM_SIZE + set vm.kmem_size=<value> VM_KMEM_SIZE Sets the size of kernel memory (bytes). This overrides the value determined when the kernel was compiled. |