freebsd-skq/sys
alc 38bf328ab8 Eliminate inconsistency in the setting of the B_DONE flag. Specifically,
make the b_iodone callback responsible for setting it if it is needed.
Previously, it was set unconditionally by bufdone() without holding
whichever lock is shared by the b_iodone callback and the corresponding
top-half function.  Consequently, in a race, the top-half function could
conclude that operation was done before the b_iodone callback finished.
See, for example, aio_physwakeup() and aio_fphysio().

Note: I don't believe that the other, more widely-used b_iodone callbacks
are affected.

Discussed with: jeff
Reviewed by: phk
MFC after: 2 weeks
2005-07-20 19:06:06 +00:00
..
alpha Convert the atomic_ptr() operations over to operating on uintptr_t 2005-07-15 18:17:59 +00:00
amd64 Convert the atomic_ptr() operations over to operating on uintptr_t 2005-07-15 18:17:59 +00:00
arm Convert the atomic_ptr() operations over to operating on uintptr_t 2005-07-15 18:17:59 +00:00
boot Add -mno-sse3 for prescott/nocona 2005-07-15 12:22:14 +00:00
bsm For consistency with more system include files, add a trailing '_' to 2005-05-29 16:11:34 +00:00
cam Fix the recent panics/LORs/hangs created by my kqueue commit by: 2005-07-01 16:28:32 +00:00
coda
compat Regen. 2005-07-13 20:35:09 +00:00
conf This has worked for a while now. ex pccard attachment 2005-07-19 02:06:48 +00:00
contrib Prevent a race condition. As pf_send_tcp() - called for expired synproxy 2005-07-20 18:58:27 +00:00
crypto
ddb Implement functions calls from within DDB on ia64. On ia64 a function 2005-07-02 23:52:37 +00:00
dev Spell destroy in a more traditional way 2005-07-19 22:26:44 +00:00
doc
fs Correct devfs ruleset bypass. 2005-07-20 13:34:16 +00:00
gdb
geom Comment typo 2005-07-20 18:08:16 +00:00
gnu Repair this: 2005-07-09 18:30:31 +00:00
i4b Fix some long standing bugs in writing to the BPF device attached to 2005-06-26 18:11:11 +00:00
i386 Add entries for smbios, smapi and vpd drivers. 2005-07-20 16:57:53 +00:00
ia64 Convert the atomic_ptr() operations over to operating on uintptr_t 2005-07-15 18:17:59 +00:00
isa Fixup some more fallout from the lapic/i8254 changes: 2005-07-13 15:43:21 +00:00
isofs/cd9660
kern Eliminate inconsistency in the setting of the B_DONE flag. Specifically, 2005-07-20 19:06:06 +00:00
libkern Fix kiconv on the 64bit plathomes. 2005-05-24 15:38:08 +00:00
modules Revert last commit: It fixed make universe but broke regular kernel make. 2005-07-16 14:02:47 +00:00
net In multicast routines: 2005-07-19 10:12:58 +00:00
net80211 Handle encrypt of arbitarily fragmented mbuf chains: previously 2005-07-11 03:06:23 +00:00
netatalk Eliminate MAC entry point mac_create_mbuf_from_mbuf(), which is 2005-07-05 23:39:51 +00:00
netatm Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
netgraph Ignore AVM BlueFRITZ! USB Bluetooth Adapter v1.0 (product ID 0x2200). 2005-07-19 00:33:37 +00:00
netinet move RFC3542 related definitions into ip6.h. 2005-07-20 10:30:52 +00:00
netinet6 update comments: 2005-07-20 08:59:45 +00:00
netipsec Correct typo in a comment describing vshiftl(). 2005-06-02 23:56:10 +00:00
netipx Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
netkey
netnatm Remove FreeBSD 2.2 protocol usrreq compatibility code. 2005-07-19 13:36:39 +00:00
netncp
netsmb lockmgr(...,LK_DRAIN,...) requires a balancing LK_RELEASE: recent 2005-05-13 11:27:48 +00:00
nfs Fixes for NFS crashes on architectures that require strict alignment. 2005-07-14 20:08:27 +00:00
nfs4client - We want if (mrep != NULL) not if (m_freem != NULL). m_freem will never 2005-04-25 05:11:19 +00:00
nfsclient Make nfs_timer() MPSAFE. With this change, the bottom half of the NFS 2005-07-19 21:27:25 +00:00
nfsserver
opencrypto malloc.h relies on param.h for a definition of MAXCPU. I guess that there is 2005-05-30 05:01:44 +00:00
pc98 Add recently invented COMPAT_FREEBSD5 option. 2005-07-14 15:39:06 +00:00
pccard Change a directory layout for pc98. 2005-05-10 12:02:18 +00:00
pci NET_LOCK_GIANT() when entering network code. 2005-07-13 14:06:13 +00:00
posix4 Introduce MAC Framework and MAC Policy entry points to label and control 2005-05-04 10:39:15 +00:00
powerpc Convert the atomic_ptr() operations over to operating on uintptr_t 2005-07-15 18:17:59 +00:00
rpc
security Bump the module versions of the MAC Framework and MAC policy modules 2005-07-14 10:46:03 +00:00
sparc64 Convert the atomic_ptr() operations over to operating on uintptr_t 2005-07-15 18:17:59 +00:00
sys Define four constants, MBUF_{,MEM,CLUSTER,PACKET,TAG}_MEM_NAME, which 2005-07-17 14:04:03 +00:00
tools Allow EVFILT_VNODE events to work on every filesystem type, not just 2005-06-09 20:20:31 +00:00
ufs Eliminate inconsistency in the setting of the B_DONE flag. Specifically, 2005-07-20 19:06:06 +00:00
vm Eliminate inconsistency in the setting of the B_DONE flag. Specifically, 2005-07-20 19:06:06 +00:00
Makefile