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/loader.8 | |
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/loader.8')
-rw-r--r-- | sys/boot/common/loader.8 | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/boot/common/loader.8 b/sys/boot/common/loader.8 index 2712da1..ef9456b 100644 --- a/sys/boot/common/loader.8 +++ b/sys/boot/common/loader.8 @@ -451,11 +451,6 @@ Set the number of buffers to be allocated. Overrides .Dv NSFBUFS . -.It Va kern.vm.kmem.size -Sets the size of kernel memory (bytes). -This overrides the value determined when the kernel was compiled. -Modifies -.Va VM_KMEM_SIZE . .It Va kern.maxswzone Limits the amount of KVM to be used to hold swap meta information, which directly governs the @@ -499,6 +494,11 @@ Overrides the compile-time set value of or the preset default of 512. Must be a power of 2. .El +.It Va vm.kmem_size +Sets the size of kernel memory (bytes). +This overrides the value determined when the kernel was compiled. +Modifies +.Va VM_KMEM_SIZE . .Ss BUILTIN PARSER When a builtin command is executed, the rest of the line is taken by it as arguments, and it is processed by a special parser which |