freebsd-dev/sys
Scott Long 7628acd8ee Up until now, the free SCB pool received only a small initial allocation,
and new SCBs were allocated on demand later if needed.  This has two
problems.  First, allocating SCBs involves allocating contiguous memory,
and if memory is exhausted then the VM will try to page out to satisfy
the request, leading to recursion and deadlock.  The second problem is
that it can cause lock order reversals due to parts of the VM still being
under Giant.

Fix the problem be allocating the full pool at driver attach, when it is
safe to do so.
2007-04-19 18:53:52 +00:00
..
amd64 Fix style(9) and comments. 2007-04-18 20:12:05 +00:00
arm
boot
bsm Change $P4$ ID strings to P4 ID strings so that they are not auto-expanded 2007-04-17 12:27:08 +00:00
cam Avoid problems with make_dev. 2007-04-19 18:14:33 +00:00
cddl MFp4: Fix automatic snapshot mount when unprivileged user does lookup 2007-04-18 15:24:48 +00:00
coda
compat MFp4: Fix automatic snapshot mount when unprivileged user does lookup 2007-04-18 15:24:48 +00:00
conf Rename the trunk(4) driver to lagg(4) as it is too similar to vlan trunking. 2007-04-17 00:35:11 +00:00
contrib MFp4: We check for PRIV_VFS_MOUNT already in mount(2) syscall and we don't 2007-04-18 15:22:07 +00:00
crypto
ddb
dev Up until now, the free SCB pool received only a small initial allocation, 2007-04-19 18:53:52 +00:00
fs Avoid "unused variable" warning when building without PSEUDOFS_TRACE. 2007-04-15 20:35:18 +00:00
gdb Convert to new console api 2006-05-26 13:54:27 +00:00
geom -) Correct sdcount for a plex when removing or adding subdisks. 2007-04-12 17:54:35 +00:00
gnu
i4b
i386 style nit 2007-04-19 09:18:51 +00:00
ia64 Remove trailing '.' for consistency! 2007-04-10 21:40:13 +00:00
isa When trying to allocate a PnP BIOS memory resource, the code loops trying 2007-04-17 15:14:23 +00:00
kern Fix witness(4) warnings about mutex use. 2007-04-19 08:02:51 +00:00
libkern strchr() and strrchr() are already present in the kernel, but with less 2007-04-10 21:42:12 +00:00
modules Rename the trunk(4) driver to lagg(4) as it is too similar to vlan trunking. 2007-04-17 00:35:11 +00:00
net Rename the trunk(4) driver to lagg(4) as it is too similar to vlan trunking. 2007-04-17 00:35:11 +00:00
net80211 change ic_modecaps to a bit vector and use setbit, et. al. 2007-03-11 22:37:32 +00:00
netatalk
netatm
netgraph We don't need spinning locks here. Change them to the adaptive mutexes. This 2007-03-31 15:43:06 +00:00
netinet - More work on making send lock contention. 2007-04-19 11:28:43 +00:00
netinet6 - fix source address selection when picking an acceptable address 2007-04-14 09:44:09 +00:00
netipsec Update comment regarding how we check privilege on FreeBSD: we now use 2007-04-10 16:09:00 +00:00
netipx Build ipx_ip.c only if options IPXIP is defined. No functional change. 2007-02-26 11:55:34 +00:00
netkey
netnatm s/destory/destroy/ (except for the code in contrib/). 2007-04-16 12:31:35 +00:00
netncp Use pause() rather than tsleep() on stack variables and function pointers. 2007-02-27 17:23:29 +00:00
netsmb
nfs
nfs4client
nfsclient
nfsserver In nfsrv_rcv(), don't reacquire the nfs server lock until after 2007-04-15 15:50:50 +00:00
opencrypto Replace custom file descriptor array sleep lock constructed using a mutex 2007-04-04 09:11:34 +00:00
pc98 Remove trailing '.' for consistency! 2007-04-10 21:40:13 +00:00
pccard
pci Oops, fix intsmb(4) attach. Don't overwrite the 'value' holding the 2007-04-19 17:14:06 +00:00
powerpc Remove trailing '.' for consistency! 2007-04-10 21:40:13 +00:00
rpc Move rpc/types.h under sys/, as this is used by ZFS kernel module. 2007-04-10 22:10:16 +00:00
security Remove $P4$ that snuck into CVS from Perforce. 2007-04-17 12:24:18 +00:00
sparc64 Remove trailing '.' for consistency! 2007-04-10 21:40:13 +00:00
sun4v Remove trailing '.' for consistency! 2007-04-10 21:40:13 +00:00
sys Make inet6_rth_* family of functions more compliant with RFC3542: 2007-04-19 15:48:16 +00:00
tools
ufs Fix the NAMEI zone leak when snapshot was successfully created. 2007-04-10 09:31:42 +00:00
vm Correct contigmalloc2()'s implementation of M_ZERO. Specifically, 2007-04-19 05:39:54 +00:00
Makefile o Add bsm and security to a list of cscope dirs. 2007-04-14 16:29:15 +00:00