1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-04 09:09:56 +00:00
freebsd/sys
Matthew Dillon 4e71e795a1 This commit represents work mainly submitted by Tor and slightly modified
by myself.  It solves a serious vm_map corruption problem that can occur
with the buffer cache when block sizes > 64K are used.  This code has been
heavily tested in -stable but only tested somewhat on -current.  An MFC
will occur in a few days.  My additions include the vm_map_simplify_entry()
and minor buffer cache boundry case fix.

Make the buffer cache use a system map for buffer cache KVM rather then a
normal map.

Ensure that VM objects are not allocated for system maps.  There were cases
where a buffer map could wind up with a backing VM object -- normally
harmless, but this could also result in the buffer cache blocking in places
where it assumes no blocking will occur, possibly resulting in corrupted
maps.

Fix a minor boundry case in the buffer cache size limit is reached that
could result in non-optimal code.

Add vm_map_simplify_entry() calls to prevent 'creeping proliferation'
of vm_map_entry's in the buffer cache's vm_map.  Previously only a simple
linear optimization was made.  (The buffer vm_map typically has only a
handful of vm_map_entry's.  This stabilizes it at that level permanently).

PR: 20609
Submitted by: (Tor Egge) tegge
2001-02-04 06:19:28 +00:00
..
alpha Grumble, I broke this file with a vi accident before commit. :-( 2001-02-04 04:13:12 +00:00
amd64 This commit represents work mainly submitted by Tor and slightly modified 2001-02-04 06:19:28 +00:00
arm/include Convert all simplelocks to mutexes and remove the simplelock implementations. 2001-01-24 12:35:55 +00:00
boot Add atspeaker_load. 2001-02-01 16:41:58 +00:00
cam Back out rev 1.102. The IBM DNES drives work fine for me, jedgar and other 2001-01-29 05:33:14 +00:00
coda Back out proc locking to protect p_ucred for obtaining additional 2001-01-27 00:01:31 +00:00
compat Back out proc locking to protect p_ucred for obtaining additional 2001-01-27 00:01:31 +00:00
compile
conf Conditionalize the alpha interrupt preemption for now to buy us some 2001-02-03 03:26:39 +00:00
contrib/dev Patch the reintroduced (~0 << 32) == 1 bug with a cryptic but functional 2001-02-02 08:31:50 +00:00
crypto
ddb
dev Use LIST_FOREACH() to traverse ifp->if_multiaddrs list, instead of 2001-02-03 16:29:10 +00:00
fs At the point in time where most devices are created, we don't know what 2001-02-02 22:54:41 +00:00
geom Fix a braino in ccd's clone routine. 2001-01-29 06:18:14 +00:00
gnu Driver for the ESS Maestro3 and Allegro sound chips. Note that due to the 2001-02-01 20:29:16 +00:00
i4b Stop counting sppp interfaces, we were just testing its presence to give 2001-01-29 12:27:46 +00:00
i386 This commit represents work mainly submitted by Tor and slightly modified 2001-02-04 06:19:28 +00:00
ia64 Remove count for NSIO. The only places it was used it were incorrect. 2001-01-31 10:54:45 +00:00
isa Remove count for NSIO. The only places it was used it were incorrect. 2001-01-31 10:54:45 +00:00
isofs/cd9660 Back out proc locking to protect p_ucred for obtaining additional 2001-01-27 00:01:31 +00:00
kern This commit represents work mainly submitted by Tor and slightly modified 2001-02-04 06:19:28 +00:00
libkern
miscfs Add a BUF_KERNPROC() in the BIO_DELETE path. 2001-01-30 10:06:08 +00:00
modules Driver for the ESS Maestro3 and Allegro sound chips. Note that due to the 2001-02-01 20:29:16 +00:00
msdosfs Convert all simplelocks to mutexes and remove the simplelock implementations. 2001-01-24 12:35:55 +00:00
net Use <sys/queue.h> macro api rather than fondle its implementation detals. 2001-02-03 11:46:35 +00:00
netatalk
netatm
netgraph Change the kernel internal ABI number as the HOOK structure has changed. 2001-02-01 21:25:06 +00:00
netinet Make the code act the same in the case of BRIDGE being defined, but not 2001-02-03 17:25:21 +00:00
netinet6 Yikes, these files bogusly #include "loop.h" but didn't use the value. 2001-01-29 11:28:20 +00:00
netipx
netkey
netnatm
netncp
netns
nfs Enable use of DHCP extensions. 2001-02-02 02:35:40 +00:00
nfsclient Enable use of DHCP extensions. 2001-02-02 02:35:40 +00:00
nfsserver
ntfs Convert all simplelocks to mutexes and remove the simplelock implementations. 2001-01-24 12:35:55 +00:00
nwfs
pc98 Remove count for NSIO. The only places it was used it were incorrect. 2001-01-31 10:54:45 +00:00
pccard
pci Use LIST_FOREACH() to traverse ifp->if_multiaddrs list, instead of 2001-02-03 16:29:10 +00:00
posix4
powerpc * Move exception_return to exception.s which is a more logical home for it. 2001-01-31 11:17:00 +00:00
rpc
svr4
sys Let M_PANIC go back to the private tree as its intention isn't understood well 2001-01-31 04:50:20 +00:00
tools
ufs Extend the sanity checks in ufs_lookup to ensure that each directory 2001-02-04 01:52:11 +00:00
vm This commit represents work mainly submitted by Tor and slightly modified 2001-02-04 06:19:28 +00:00
Makefile