1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-23 11:18:54 +00:00
freebsd/sys
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
..
alpha Turn off SMP on Alpha for the time being. There are some memory ordering 2001-08-18 01:12:43 +00:00
amd64 Limit the amount of KVM reserved for the buffer cache and for swap-meta 2001-08-20 00:41:12 +00:00
arm
boot Limit the amount of KVM reserved for the buffer cache and for swap-meta 2001-08-20 00:41:12 +00:00
cam
coda
compat
conf Limit the amount of KVM reserved for the buffer cache and for swap-meta 2001-08-20 00:41:12 +00:00
contrib
crypto
ddb No tokens should follow #endif. 2001-08-15 03:38:49 +00:00
dev Clarify the description string for one of the StrongARM based cards. 2001-08-17 20:59:49 +00:00
fs linux ls fails on DEVFS /dev because linux_getdents fails because 2001-08-14 06:42:32 +00:00
geom
gnu
i4b
i386 Limit the amount of KVM reserved for the buffer cache and for swap-meta 2001-08-20 00:41:12 +00:00
ia64 style(9) and make consistent across platforms 2001-08-16 09:29:35 +00:00
isa Fix the so-called "half-baked-probe" code that I wrote a long time ago 2001-08-16 17:30:55 +00:00
isofs/cd9660
kern Limit the amount of KVM reserved for the buffer cache and for swap-meta 2001-08-20 00:41:12 +00:00
libkern
modules Add support for 802.1Q VLAN and oversized ethernet frames. 2001-08-13 18:32:39 +00:00
net Fix typo 2001-08-16 17:17:54 +00:00
netatalk
netatm
netgraph
netinet Make the protoswitch definitiosn checkable in the same way that 2001-08-10 23:17:22 +00:00
netinet6
netipx
netkey
netnatm
netncp
netns
netsmb
nfs
nfsclient
nfsserver
pc98 - Close races with signals and other AST's being triggered while we are in 2001-08-10 22:53:32 +00:00
pccard Improve interlocking for card removal. We now can remove the card in 2001-08-19 05:01:18 +00:00
pci After one more day of testing, make what I hope are the final tweaks to 2001-08-16 20:15:16 +00:00
posix4 - Close races with signals and other AST's being triggered while we are in 2001-08-10 22:53:32 +00:00
powerpc Minor style(9)'ing 2001-08-16 10:13:34 +00:00
rpc
sparc64 Don't needlessly duplicate what's basically the same copyright. 2001-08-18 19:09:55 +00:00
svr4
sys Limit the amount of KVM reserved for the buffer cache and for swap-meta 2001-08-20 00:41:12 +00:00
tools
ufs Sigh. ufs_lookup() calls ffs_snapgone(), meaning that 'options EXT2FS' 2001-08-18 03:08:48 +00:00
vm Limit the amount of KVM reserved for the buffer cache and for swap-meta 2001-08-20 00:41:12 +00:00
Makefile