freebsd-dev/sys
John Baldwin a29b4f6eec Drop the kqueue global mutex as soon as we are finished with it rather
than keeping it locked until we exit the function to optimize the case
where the lock would be dropped and later reacquired.  The optimization
was broken when kevent's were moved from UFS to VFS and the knote list
lock for a vnode kevent became the lockmgr vnode lock.  If one tried
to use a kqueue that contained events for a kqueue fd followed by a vnode,
then the kq global lock would end up being held when the vnode lock was
acquired which could result in sleeping with a mutex held (and subsequent
panics) if the vnode lock was contested.

Reviewed by:	jmg
Tested by:	ps (on 6.x)
MFC after:	3 days
2006-04-14 14:27:28 +00:00
..
alpha Retire pmap_track_modified(). We no longer need it because we do not 2006-04-12 04:22:52 +00:00
amd64 Include opt_pmap.h for PMAP_SHPGPERPROC. 2006-04-13 03:31:48 +00:00
arm We need to adjust the bus handle if the resource is SYS_RES_MEMORY, NOT 2006-04-13 15:07:59 +00:00
boot Add commented out define for TSC board's boot0. 2006-04-13 17:44:05 +00:00
bsm Update src/sys/bsm for OpenBSM 1.0 alpha 5 changes: 2006-03-04 16:54:21 +00:00
cam Add reference to PR to TOSHIBA TransMemory quirk entry. 2006-03-18 21:13:14 +00:00
coda CODA_COMPAT_5 may not be defined unconditionally in the coda5 module. 2006-02-27 12:04:13 +00:00
compat Annotate uses of fgetsock() with indications that they should rely 2006-04-01 15:25:01 +00:00
conf Hook bce up to the build 2006-04-10 20:04:22 +00:00
contrib Loopback pf_norm.c rev. 1.106 from OpenBSD: 2006-03-25 21:15:25 +00:00
crypto On padlock initialization, allocate memory with M_WAITOK. 2006-04-12 12:13:34 +00:00
ddb Clean up the way we handle auxiliary commands for a given ddb command 2006-03-07 22:17:06 +00:00
dev Add device ID for Intel Pro/100 VE Network Connection card 2006-04-14 07:49:52 +00:00
doc
fs Remove unused prototypes. 2006-04-12 12:17:29 +00:00
gdb add support for copying console messages to a remote gdb 2006-03-23 23:06:14 +00:00
geom Make CCD be able to read and write Linux software raids. 2006-04-13 20:35:31 +00:00
gnu Repair ext2fs writes. 2006-04-13 19:37:32 +00:00
i4b
i386 Retire pmap_track_modified(). We no longer need it because we do not 2006-04-12 04:22:52 +00:00
ia64 Retire pmap_track_modified(). We no longer need it because we do not 2006-04-12 04:22:52 +00:00
isa Committed the xbox syscons(8)-able console driver. 2006-03-03 14:52:57 +00:00
isofs/cd9660 When encountering a ISO_SUSP_CFLAG_ROOT element in Rock Ridge 2006-03-13 22:32:33 +00:00
kern Drop the kqueue global mutex as soon as we are finished with it rather 2006-04-14 14:27:28 +00:00
libkern
modules Add a driver for the Broadcom NetXtreme II (BCM5706/BCM5708) 2006-04-10 19:55:23 +00:00
net Use ANSI C function protypes and declarations for if_arcsubr. 2006-04-12 07:44:31 +00:00
net80211 implement set(IEEE80211_IOC_STA_STATS) for hostapd; for 2006-03-27 05:22:35 +00:00
netatalk White space consistency with kasserts. Minor style tweaks. 2006-04-01 16:54:37 +00:00
netatm Chance protocol switch method pru_detach() so that it returns void 2006-04-01 15:42:02 +00:00
netgraph Correct assertion in ng_detach(). 2006-04-06 02:54:42 +00:00
netinet Modify tcp_timewait() to accept an inpcb reference, not a tcptw 2006-04-09 16:59:19 +00:00
netinet6 Assert the inpcb lock in udp6_output(), as we dereference various 2006-04-12 03:34:22 +00:00
netipsec Hide net.inet.ipsec.test_{replay,integrity} sysctls under #ifdef REGRESSION. 2006-04-10 15:04:36 +00:00
netipx Make this compile without INVARIANTS. 2006-04-11 23:15:47 +00:00
netkey In raw and raw-derived socket types, maintain and enforce invariant that 2006-04-01 15:55:44 +00:00
netnatm In natm_usr_abort(), replace existing call to natm_usr_shutdown() with 2006-04-09 17:14:09 +00:00
netncp
netsmb Retire NETSMBCRYPTO as a kernel option and make its functionality 2006-03-05 22:52:17 +00:00
nfs
nfs4client
nfsclient Keep track of the number of in-progress async direct IO writes in the nfsnode. 2006-04-06 01:20:30 +00:00
nfsserver Introduce a new MAC entry point for label initialization of the NFS daemon's 2006-04-06 23:33:11 +00:00
opencrypto Be sure to wakeup the crypto thread when new request was queued. 2006-04-11 18:01:04 +00:00
pc98 Don't allow userland to set hardware watch points on kernel memory at all. 2006-03-14 16:13:55 +00:00
pccard
pci Add support for RTL8111B chip, that can be found on some mainboards, 2006-03-22 07:33:03 +00:00
posix4 Use proc lock to prevent a thread from exiting, Giant was no longer used to 2006-04-10 04:55:59 +00:00
powerpc Add kbdmux(4). This avoids having to use the hint.pcib.1.skipslot=26 2006-04-07 22:04:07 +00:00
rpc
security Introduce a new MAC entry point for label initialization of the NFS daemon's 2006-04-06 23:33:11 +00:00
sparc64 For USIII CPUs the type of the trap caused by peeking/poking non-existent 2006-04-04 21:00:44 +00:00
sys backout rev 1.74 2006-04-07 05:16:02 +00:00
tools
ufs Eliminate softdep_flush() livelock by accounting for number of worklist items 2006-04-03 22:23:23 +00:00
vm On shutdown try to turn off all swap devices. This way GEOM providers are 2006-04-10 10:03:41 +00:00
Makefile Reimplementation of world/kernel build options. For details, see: 2006-03-17 18:54:44 +00:00