freebsd-skq/sys
Kenneth D. Merry c67e754951 Fix the CTL OOA queue dumping code so that it does not hold a mutex
while doing a copyout.  That can cause a panic, because copyout
can trigger VM faults, and we can't handle VM faults while holding
a mutex.

The solution here is to malloc a separate buffer to hold the OOA
queue entries, so that we don't risk a VM fault while filling up
the buffer and we don't have to drop the lock.  The other solution
would be to wire the user's memory while filling their buffer with
copyout, but that would have been a little more complex.

Also fix a debugging parenthesis issue in ctl_abort_task() pointed
out by Chuck Tuffli.

Sponsored by:	Spectra Logic Corporation
MFC after:	1 week
2012-12-08 04:16:07 +00:00
..
amd64 Add amd64 implementations for 8-byte bus_space routines. 2012-12-06 22:33:31 +00:00
arm Don't write-back the cachelines if we really just want to invalidate them. 2012-12-05 21:07:27 +00:00
boot Typo in a comment. 2012-12-07 07:08:39 +00:00
bsm Merge OpenBSM 1.2-alpha2 changes from contrib/openbsm to 2012-12-01 13:46:37 +00:00
cam Fix the CTL OOA queue dumping code so that it does not hold a mutex 2012-12-08 04:16:07 +00:00
cddl Use SA_ZPL_CRTIME instead of SA_ZPL_CTIME for creation time. 2012-12-03 04:25:37 +00:00
compat Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
conf Add the AR5416/AR9285 bluetooth coexistence code into the main kernel 2012-12-03 23:43:23 +00:00
contrib Allow this file to build on FreeBSD. 2012-11-27 02:03:41 +00:00
crypto Revert previous commit... 2012-10-10 08:36:38 +00:00
ddb Small textdump enhancements. 2012-11-01 04:07:08 +00:00
dev Add XC900 SKU mapping. 2012-12-07 06:38:30 +00:00
fs Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
gdb
geom - Don't pass geom and provider names as format strings. 2012-11-20 12:32:18 +00:00
gnu/fs r16312 is not any longer real since many years (likely since when VFS 2012-11-19 22:43:45 +00:00
i386 Add amd64 implementations for 8-byte bus_space routines. 2012-12-06 22:33:31 +00:00
ia64 Flip the semantic of M_NOWAIT to only require the allocation to not 2012-11-14 20:01:40 +00:00
isa
kern Configure UMA warnings for the following zones: 2012-12-07 22:30:30 +00:00
kgssapi
libkern Sync strlcpy with userland version. 2012-11-03 04:29:24 +00:00
mips Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
modules Add the btcoex code into the module compilation. 2012-12-03 23:38:08 +00:00
net - Move definition of V_deembed_scopeid to scope6_var.h. 2012-12-05 19:45:24 +00:00
net80211 Add a new 900MHz GSM regulatory SKU for the Xagyl Communications XC900M. 2012-12-07 06:34:46 +00:00
netatalk Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
netgraph Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
netinet Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
netinet6 - Move definition of V_deembed_scopeid to scope6_var.h. 2012-12-05 19:45:24 +00:00
netipsec Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
netipx Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
netnatm Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
netncp Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
netpfil Rule memory garbage collecting in new pf scans only states that are on 2012-12-06 08:38:14 +00:00
netsmb Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
nfs Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
nfsclient Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
nfsserver Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
nlm Remove the support for using non-mpsafe filesystem modules. 2012-10-22 17:50:54 +00:00
ofed Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
opencrypto Revert previous commit... 2012-10-10 08:36:38 +00:00
pc98 Reduce diffs against i386. 2012-11-10 13:48:41 +00:00
pci Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
powerpc Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
rpc Add support for backchannels to the kernel RPC. Backchannels 2012-12-08 00:29:16 +00:00
security Merge OpenBSM 1.2-alpha2 changes from contrib/openbsm to 2012-12-01 13:46:37 +00:00
sparc64 Move the declaration of vm_phys_paddr_to_vm_page() from vm/vm_page.h 2012-11-16 05:55:56 +00:00
sys Allow KASSERT to log instead of panic. 2012-12-07 08:25:08 +00:00
teken
tools Revert previous commit... 2012-10-10 08:36:38 +00:00
ufs r16312 is not any longer real since many years (likely since when VFS 2012-11-19 22:43:45 +00:00
vm Implemented uma_zone_set_warning(9) function that sets a warning, which 2012-12-07 22:27:13 +00:00
x86 Add amd64 implementations for 8-byte bus_space routines. 2012-12-06 22:33:31 +00:00
xdr
xen Move the corresponding MTX_SYSINIT() next to their struct mtx declaration 2012-10-26 17:31:35 +00:00
Makefile Run cscope with the -v parameter to make it more user-friendly. 2012-12-02 20:51:24 +00:00