freebsd-nq/sys/boot/common
Matthew Dillon 2f9e4e8025 Limit the amount of KVM reserved for the buffer cache and for swap-meta
information.  The default limits only effect machines with > 1GB of ram
and can be overriden with two new kernel conf variables VM_SWZONE_SIZE_MAX
and VM_BCACHE_SIZE_MAX, or with loader variables kern.maxswzone and
kern.maxbcache.  This has the effect of leaving more KVM available for
sizing NMBCLUSTERS and 'maxusers' and should avoid tripups where a sysad
adds memory to a machine and then sees the kernel panic on boot due to
running out of KVM.

Also change the default swap-meta auto-sizing calculation to allocate half
of what it was previously allocating.  The prior defaults were way too high.
Note that we cannot afford to run out of swap-meta structures so we still
stay somewhat conservative here.
2001-08-20 00:41:12 +00:00
..
bcache.c Cleanup warnings. Most of these are signed/unsigned warnings, as well as 2000-08-03 09:14:02 +00:00
boot.c The default kernel filename is "kernel" again, not "kernel.ko". 2000-11-17 04:43:56 +00:00
bootstrap.h Nuke old gensetdefs based linker sets with extreme prejudice 2001-06-14 01:23:57 +00:00
commands.c Whenever the user might be offered a chance to quit through 2001-02-22 11:22:14 +00:00
console.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
dev_net.c Give the network device a print method. 2000-11-10 06:37:43 +00:00
dev_net.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
devopen.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
help.common Some more i386-only BIOS-friendliness: 2000-04-16 20:48:33 +00:00
interp_backslash.c Cleanup warnings. Most of these are signed/unsigned warnings, as well as 2000-08-03 09:14:02 +00:00
interp_forth.c Cleanup warnings. Most of these are signed/unsigned warnings, as well as 2000-08-03 09:14:02 +00:00
interp_parse.c Cleanup warnings. Most of these are signed/unsigned warnings, as well as 2000-08-03 09:14:02 +00:00
interp.c Change NOFORTH comment character from # to \ followed by space, 2000-09-10 13:48:51 +00:00
isapnp.c Cleanup warnings. Most of these are signed/unsigned warnings, as well as 2000-08-03 09:14:02 +00:00
isapnp.h Nuke old gensetdefs based linker sets with extreme prejudice 2001-06-14 01:23:57 +00:00
load_aout.c Cleanup warnings. Most of these are signed/unsigned warnings, as well as 2000-08-03 09:14:02 +00:00
load_elf.c Get rid of some constness warnings. 2001-06-24 12:08:47 +00:00
load.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
loader.8 Limit the amount of KVM reserved for the buffer cache and for swap-meta 2001-08-20 00:41:12 +00:00
ls.c GC unused variable (size) 2000-05-01 18:03:15 +00:00
Makefile.inc MAN[1-9] -> MAN. 2001-03-27 11:59:22 +00:00
merge_help.awk $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
misc.c Delay calling the device cleanup routines until the absolute last 2000-06-14 10:34:29 +00:00
module.c Fix a minor style bug in the last commit. 2001-06-10 11:15:37 +00:00
newvers.sh setlocale(3) has been fixed to match POSIX standard: 2001-03-02 16:52:14 +00:00
panic.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
pnp.c Use <sys/queue.h> macro API. 2000-12-30 20:40:16 +00:00
pnpdata $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00