freebsd-nq/sys
John Baldwin b85975277e Add a critical section in turnstile_unpend() from before dropping the
turnstile chain lock until after making all the awakened threads
runnable.  First, this fixes a priority inversion race.  Second, this
attempts to finish waking up all of the threads waiting on a turnstile
before doing a preemption.

Reviewed by:	Stephan Uphoff (who found the priority inversion race)
2004-10-05 18:00:30 +00:00
..
alpha The physical address stored in the vm_page is page aligned. There is no 2004-10-03 00:16:43 +00:00
amd64 Undo revision 1.251. This change was a performance pessimizing work-around 2004-10-03 20:14:07 +00:00
arm Add optimized version of the bswap macroes for constants if __OPTIMIZED__ is 2004-10-01 16:55:59 +00:00
boot Back out changes which were introduced to delay mounting root file system. 2004-10-05 11:26:43 +00:00
cam Remove the camnet swi and CAM_PERIPH_NET. It has never been used, and given 2004-10-05 04:22:20 +00:00
coda Do not use devsw() but si_devsw direction. This is still bogus but a 2004-09-23 12:19:24 +00:00
compat Add a proc *p pointer for td->td_proc to make this code easier to read. 2004-09-24 20:26:15 +00:00
conf Add a more verbose description for `device vlan' 2004-10-04 14:16:17 +00:00
contrib Add an additional struct inpcb * argument to pfil(9) in order to enable 2004-09-29 04:54:33 +00:00
crypto Use __FBSDID(). 2004-06-14 00:38:54 +00:00
ddb Refactor a bunch of scheduler code to give basically the same behaviour 2004-09-05 02:09:54 +00:00
dev Use generic tty code instead of local copy. 2004-10-05 07:42:19 +00:00
doc Experimental support for using doxygen to generate kernel documentation. 2004-07-11 16:13:57 +00:00
fs Minor Bug fix. Some file was not translated. 2004-10-05 16:53:37 +00:00
gdb Comment-out the debugging printf I left in in case there were some 2004-08-10 19:32:33 +00:00
geom Before root file system is mounted, wait for mirrors in degraded state. 2004-10-05 11:17:08 +00:00
gnu Desupport device nodes on EXT2 filesystems. 2004-09-27 20:38:46 +00:00
i4b Kill count device support from config. I've changed the last few 2004-08-30 23:03:58 +00:00
i386 Undo revision 1.251. This change was a performance pessimizing work-around 2004-10-03 20:14:07 +00:00
ia64 The physical address stored in the vm_page is page aligned. There is no 2004-10-03 00:16:43 +00:00
isa Introduce a tunable to disable support for Synaptics touchpads. A number of 2004-09-29 23:49:57 +00:00
isofs/cd9660 Hold proper thread count while frobbing drivers ioctl. 2004-09-24 07:24:02 +00:00
kern Add a critical section in turnstile_unpend() from before dropping the 2004-10-05 18:00:30 +00:00
libkern Don't attempt to profile __udivsi3() and friends, as mcount() uses them. 2004-10-01 16:44:08 +00:00
modules Add the memrange bits to the loadable module. 2004-09-28 07:26:00 +00:00
net Add an additional struct inpcb * argument to pfil(9) in order to enable 2004-09-29 04:54:33 +00:00
net80211 Add a new network interface flag, IFF_NEEDSGIANT, which will allow 2004-07-27 23:20:45 +00:00
netatalk Inline umich license from COPYRIGHT to make it clear what license the 2004-08-10 03:23:05 +00:00
netatm Avoid casts as lvalues. 2004-07-28 06:59:55 +00:00
netgraph Fix an issue with ng_tty which (ab)used the tty->t_sc field which is 2004-09-17 22:26:27 +00:00
netinet Add support to IPFW for matching by TCP data length. 2004-10-03 00:47:15 +00:00
netinet6 Prevent reentrancy of the IPv6 routing code (leading to crash with 2004-10-03 00:49:33 +00:00
netipsec Remove extraneous SECPOLICY_LOCK_DESTROY calls that cause the mutex to be 2004-10-02 00:19:05 +00:00
netipx Mark Netgraph TTY, KAME IPSEC, and IPX/SPX as requiring Giant for correct 2004-08-28 15:24:53 +00:00
netkey Merge netipsec/key.c:1.17 into KAME pfkey implementation: 2004-09-30 00:49:55 +00:00
netnatm Constify send and receive space constants in natm. 2004-06-24 03:11:29 +00:00
netncp Do the dreaded s/dev_t/struct cdev */ 2004-06-16 09:47:26 +00:00
netsmb Avoid casts as lvalues. 2004-07-28 06:59:55 +00:00
nfs
nfs4client Remove NFS4 vop method vector for devices: we are desupporing device nodes 2004-09-27 20:02:50 +00:00
nfsclient nfsclient/nfs_bio.c has a PHOLD() without a PRELE(). Neither should 2004-10-01 05:01:41 +00:00
nfsserver Convert a mtx_lock(&Giant) to a mtx_unlock(&Giant) in nfsrv_link() to 2004-08-25 16:52:59 +00:00
opencrypto Don't acquire Giant in cryptof_close(), as the code is intended to be 2004-08-10 03:26:17 +00:00
pc98 Add more PnP serial cards support. 2004-10-01 15:58:54 +00:00
pccard Move PNP IDs back into oldcard files 2004-08-13 06:57:31 +00:00
pci Add PCI ID for VIA K8T800Pro chipset. Tested with agptest and X with DRI 2004-10-05 04:40:32 +00:00
posix4
powerpc Add sc_iostart to softc and unbreak the build. 2004-09-27 19:51:58 +00:00
rpc Prefer C99's __func__ over GCC's __FUNCTION__. 2004-09-23 18:25:46 +00:00
security Remove the debugging tunable, it was not being used. 2004-09-10 15:14:50 +00:00
sparc64 This along with v1.6 of counter.c fixes some timecounter issues on 2004-09-30 14:38:59 +00:00
sys Remove SWI_CAMNET since it's no longer used. Re-sort SWI priorities in its 2004-10-05 04:52:41 +00:00
tools Pass doxygen doc comments through to the output. 2004-07-11 16:14:24 +00:00
ufs Back out changes which were introduced to delay mounting root file system. 2004-10-05 11:26:43 +00:00
vm Don't look for swap blocks in objects that aren't swap-backed. 2004-09-24 16:04:20 +00:00
Makefile Add a NO_BOOT knob to prevent building the boot blocks and loader. 2004-08-19 09:54:28 +00:00