freebsd-nq/sys
Adrian Chadd ee3219757a Rework this ugly mess that tries to handle reset serialisation.
Some users were reporting concurrent resets _were_ occuring - ie,
either two ath_reset()s ran at the same time (likely one on each CPU)
or ath_reset() versus ath_chan_change().

Instead, this now tries to grab the serialisation semaphore and will
pause() for a while if it fails. It will always eventually succeed though
and will log an error if it hits the recursion situation.

All of this stuff needs to die a horrible death at some point and be
replaced with a properly serialising method of programming this stuff
(eg using the net80211 taskqueue for all of this stuff.) The trouble
is figuring out how to handle the concurrent ioctl() based things without
introducing more LORs (which is another reason why I haven't just wrapped
all of this stuff in large, long-lived locks, a-la what Linux can get
away with.)

MFC after:	Absolutely, positively never.
2011-12-23 03:59:49 +00:00
..
amd64 Add comments in NOTES to say what viawd is. 2011-12-20 00:16:52 +00:00
arm ARM pmap fixes: 2011-12-15 12:14:15 +00:00
boot Make the RTC checking for QEMU even more aggressive. 2011-12-21 16:47:01 +00:00
bsm
cam Merge to da driver quirks hinting 4K physical sector sizes for SATA disks 2011-12-23 00:10:17 +00:00
cddl opensolaris compat: fix vcmn_err so that panic(9) produces a proper message 2011-12-19 14:55:14 +00:00
compat Protect process environment variables with p_candebug(). 2011-12-04 21:43:13 +00:00
conf When building the kernel with clang, it produces several warnings which 2011-12-23 00:23:37 +00:00
contrib Merge from OpenBSD: 2011-12-22 19:09:55 +00:00
crypto Update Copyright. 2011-10-27 14:15:26 +00:00
ddb Use FOREACH_PROC_IN_SYSTEM instead of using its unrolled form. 2011-12-18 15:36:21 +00:00
dev Rework this ugly mess that tries to handle reset serialisation. 2011-12-23 03:59:49 +00:00
fs During investigation of an NFSv4 client crash reported by glebius@, 2011-12-23 02:04:35 +00:00
gdb kern cons: introduce infrastructure for console grabbing by kernel 2011-12-17 15:08:43 +00:00
geom replace uses of libkern gets with cngets 2011-12-17 15:26:34 +00:00
gnu Mark all SYSCTL_NODEs static that have no corresponding SYSCTL_DECLs. 2011-11-07 15:43:11 +00:00
i386 The size passed to kmem functions should be in terms of bytes and not 2011-12-20 20:29:45 +00:00
ia64 kern cons: introduce infrastructure for console grabbing by kernel 2011-12-17 15:08:43 +00:00
isa - There's no need to overwrite the default device method with the default 2011-11-22 21:28:20 +00:00
kern Use TASK_INITIALIZER() for dev_dtr_task rather than a dedicated SYSINIT(). 2011-12-22 16:01:10 +00:00
kgssapi Add missing break statement to make sure all 3DES etypes really are treated 2011-10-10 09:13:07 +00:00
libkern retire libkern gets 2011-12-17 15:48:55 +00:00
mips Remove these locks - they aren't strictly needed and cause measurable 2011-12-20 00:33:56 +00:00
modules Disable various warnings for the ath module in a more fine-grained way: 2011-12-22 23:40:52 +00:00
net Provide ABI compatibility shim to enable configuring of addresses 2011-12-21 12:39:08 +00:00
net80211 Remove now redundant mac argument. 2011-12-17 10:32:31 +00:00
netatalk
netgraph In r191367 the need for if_free_type() was removed and a new member 2011-11-11 22:57:52 +00:00
netinet Use a better log message for master down event. 2011-12-22 18:48:21 +00:00
netinet6 Provide ABI compatibility shim to enable configuring of addresses 2011-12-21 12:39:08 +00:00
netipsec Remove unused 'plen' variable. 2011-11-26 23:57:03 +00:00
netipx Mark all SYSCTL_NODEs static that have no corresponding SYSCTL_DECLs. 2011-11-07 15:43:11 +00:00
netnatm
netncp Change ncp_scan_bindery_object() to pass a constant search string. 2011-10-16 08:44:03 +00:00
netsmb Add unicode support to msdosfs and smbfs; original pathes from imura, 2011-11-18 03:05:20 +00:00
nfs Some cleanup of BOOTP code. Initially I wanted to just change the ifioctl() 2011-12-13 07:02:48 +00:00
nfsclient jwd@ reported a problem via email where the old NFS client would 2011-12-21 02:45:51 +00:00
nfsserver Honor NFSv3 commit call (RFC 1813, Section 3.3.21) where when count is 0, 2011-12-15 02:26:53 +00:00
nlm Mark all SYSCTL_NODEs static that have no corresponding SYSCTL_DECLs. 2011-11-07 15:43:11 +00:00
ofed Replace __signed by signed. 2011-12-13 13:38:03 +00:00
opencrypto Add the fo_chown and fo_chmod methods to struct fileops and use them 2011-08-16 20:07:47 +00:00
pc98 kern cons: introduce infrastructure for console grabbing by kernel 2011-12-17 15:08:43 +00:00
pci To save more power, switch to 10/100Mbps link when controller is 2011-11-23 23:29:18 +00:00
powerpc Support infrastructure for X11 on PS3. 2011-12-18 16:53:21 +00:00
rpc Both a crash reported on freebsd-current on Oct. 18 under the 2011-11-03 14:38:03 +00:00
security Revert the approach for skipping lockstat_probe_func call when doing 2011-12-12 23:29:32 +00:00
sparc64 Eliminate vestiges of page coloring. 2011-12-15 05:07:16 +00:00
sys Provide ABI compatibility shim to enable configuring of addresses 2011-12-21 12:39:08 +00:00
teken Link the demo application against ncursesw to make Unicode work. 2011-10-13 14:20:27 +00:00
tools Restore the comment that I removed by accident. 2011-11-09 13:26:59 +00:00
ufs Use implementation independent inoNN_t scalars for on-disk UFS structures 2011-11-09 07:48:48 +00:00
vm Move kstack_cache_entry into the private header, and make the 2011-12-16 10:56:16 +00:00
x86 Get rid of kludgy per-descriptor state handling in acpi_apm. 2011-12-05 16:08:18 +00:00
xdr
xen s/timout/timeout 2011-12-15 06:29:13 +00:00
Makefile Include sys/xen in cscope tag file generation. 2011-06-10 20:51:41 +00:00