freebsd-dev/sys
Poul-Henning Kamp 9197ce2ee5 Add a new per-thread private flag: TDP_GEOM.
This flag gets set whenever the thread posts an event on the GEOM
event queue, and if the flag is set when the thread is prepared
to return to userland from the kernel, g_waitidle() will be called
to make sure that the posted events have completed.

This can replace an insufficient number of g_waitidle() calls in
various other places, and has the advantage of being failsafe:  Any
system call which does a VOP_OPEN()/VOP_CLOSE will now correctly
wait for any geom events it posted as part of spoils or tastes.

Assert that topology and Giant is not held in g_waitidle().
2004-10-23 20:49:17 +00:00
..
alpha Fix a typo so that this compiles. 2004-10-20 16:22:53 +00:00
amd64 Print flags in the nexus for child devices. 2004-10-14 22:36:47 +00:00
arm We want to ignore BUS_DMASYNC_POSTWRITE, not BUS_DMASYNC_POSTREAD. 2004-10-21 11:59:33 +00:00
boot Respect RB_MULTIPLE flag. 2004-10-22 14:57:28 +00:00
cam Remove references to the second byte of a CCB containing the LUN, as this 2004-10-13 09:31:04 +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 Rebuild from FreeBSD32 syscalls.master:1.42. 2004-10-23 20:05:42 +00:00
conf Alas, poor SPECFS! -- I knew him, Horatio; A filesystem of infinite 2004-10-22 09:59:37 +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 Locking cleanups to remove the need for a recursive mutex 2004-10-23 08:33:10 +00:00
doc Experimental support for using doxygen to generate kernel documentation. 2004-07-11 16:13:57 +00:00
fs Alas, poor SPECFS! -- I knew him, Horatio; A filesystem of infinite 2004-10-22 09:59: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 Add a new per-thread private flag: TDP_GEOM. 2004-10-23 20:49:17 +00:00
gnu Add b_bufobj to struct buf which eventually will eliminate the need for b_vp. 2004-10-22 08:47:20 +00:00
i4b Mark i4b IPR and SPPP drivers as NET_NEEDS_GIANT(), as they both 2004-10-12 09:25:52 +00:00
i386 Add some basic KTR tracing to busdma on i386. This is likely not 2004-10-23 10:34:27 +00:00
ia64 Use bioq_takefirst() 2004-10-23 12:44:19 +00:00
isa Remove local hacks to set flags now that the device probe does this for us. 2004-10-14 22:21:59 +00:00
isofs/cd9660 Hold proper thread count while frobbing drivers ioctl. 2004-09-24 07:24:02 +00:00
kern Add a new per-thread private flag: TDP_GEOM. 2004-10-23 20:49:17 +00:00
libkern Don't attempt to profile __udivsi3() and friends, as mcount() uses them. 2004-10-01 16:44:08 +00:00
modules Convert IPDIVERT into a loadable module. This makes use of the dynamic loadability 2004-10-19 21:14:57 +00:00
net Define IFF_LOCKGIANT() and IFF_UNLOCKGIANT() macros, which conditionally 2004-10-19 18:11:55 +00:00
net80211 Add a new network interface flag, IFF_NEEDSGIANT, which will allow 2004-07-27 23:20:45 +00:00
netatalk Push acquisition of the accept mutex out of sofree() into the caller 2004-10-18 22:19:43 +00:00
netatm Push acquisition of the accept mutex out of sofree() into the caller 2004-10-18 22:19:43 +00:00
netgraph Push acquisition of the accept mutex out of sofree() into the caller 2004-10-18 22:19:43 +00:00
netinet Shave 40 unused bytes from struct tcpcb. 2004-10-22 19:55:04 +00:00
netinet6 Be more careful to only index valid IP protocols and be more verbose with 2004-10-19 14:26:44 +00:00
netipsec Remove extraneous SECPOLICY_LOCK_DESTROY calls that cause the mutex to be 2004-10-02 00:19:05 +00:00
netipx Push acquisition of the accept mutex out of sofree() into the caller 2004-10-18 22:19:43 +00:00
netkey Merge netipsec/key.c:1.17 into KAME pfkey implementation: 2004-09-30 00:49:55 +00:00
netnatm Push acquisition of the accept mutex out of sofree() into the caller 2004-10-18 22:19:43 +00:00
netncp Add missing zero flag argument. 2004-10-12 08:22:08 +00:00
netsmb Avoid casts as lvalues. 2004-07-28 06:59:55 +00:00
nfs
nfs4client Add b_bufobj to struct buf which eventually will eliminate the need for b_vp. 2004-10-22 08:47:20 +00:00
nfsclient Add b_bufobj to struct buf which eventually will eliminate the need for b_vp. 2004-10-22 08:47:20 +00:00
nfsserver Add b_bufobj to struct buf which eventually will eliminate the need for b_vp. 2004-10-22 08:47:20 +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 use bioq_takefirst() 2004-10-23 12:45:39 +00:00
pccard Move PNP IDs back into oldcard files 2004-08-13 06:57:31 +00:00
pci Really really fix typo this time. 2004-10-19 20:02:07 +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 /%x/%s/ -- mismerged DEBUGGER() printf() format stirng from the 2004-10-23 15:12:34 +00:00
sparc64 Flush the register windows before we start changing the context. 2004-10-09 16:42:09 +00:00
sys Add a new per-thread private flag: TDP_GEOM. 2004-10-23 20:49:17 +00:00
tools Pass doxygen doc comments through to the output. 2004-07-11 16:14:24 +00:00
ufs Add b_bufobj to struct buf which eventually will eliminate the need for b_vp. 2004-10-22 08:47:20 +00:00
vm Add b_bufobj to struct buf which eventually will eliminate the need for b_vp. 2004-10-22 08:47: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