summaryrefslogtreecommitdiff
path: root/sys/dev/microcode
diff options
context:
space:
mode:
authorthorpej <thorpej@NetBSD.org>2000-02-11 19:22:52 +0000
committerthorpej <thorpej@NetBSD.org>2000-02-11 19:22:52 +0000
commiteb9cbbe29404f2d954862a2ea303760479cb8a1d (patch)
treed953171f9ce02398a67dea83d070e902456b808c /sys/dev/microcode
parent9bf09631c63f4b82938ec9d5ba304075a54d9d5b (diff)
Add some very simple code to auto-size the kmem_map. We take the
amount of physical memory, divide it by 4, and then allow machine dependent code to place upper and lower bounds on the size. Export the computed value to userspace via the new "vm.nkmempages" sysctl. NKMEMCLUSTERS is now deprecated and will generate an error if you attempt to use it. The new option, should you choose to use it, is called NKMEMPAGES, and two new options NKMEMPAGES_MIN and NKMEMPAGES_MAX allow the user to configure the bounds in the kernel config file.
Diffstat (limited to 'sys/dev/microcode')
0 files changed, 0 insertions, 0 deletions