summaryrefslogtreecommitdiffstats
path: root/usr.bin/rpcgen/rpc_parse.c
diff options
context:
space:
mode:
authorprovos <provos@openbsd.org>2001-12-05 01:57:14 +0000
committerprovos <provos@openbsd.org>2001-12-05 01:57:14 +0000
commit5d650cfba627544479c3a7e26776f12ea39f3bde (patch)
treef73afe9f6c30abed411500a9c264d3bb49b9b1d9 /usr.bin/rpcgen/rpc_parse.c
parentMust include machine/pmap.h and machine/vmparam.h here now (diff)
downloadwireguard-openbsd-5d650cfba627544479c3a7e26776f12ea39f3bde.tar.xz
wireguard-openbsd-5d650cfba627544479c3a7e26776f12ea39f3bde.zip
make nkmempages dynamic based on memory. okay art@ from netbsd:
date: 2000/02/11 19:22:52; author: thorpej; 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 'usr.bin/rpcgen/rpc_parse.c')
0 files changed, 0 insertions, 0 deletions