freebsd-dev/sys
Ed Schouten ca1d2f657a Make /dev/klog and kern.msgbuf* MPSAFE.
Normally msgbufp is locked using Giant. Switch it to use the
msgbuf_lock. Instead of changing the tsleep() calls to msleep(), just
convert it to condvar(9).

In my opinion the locking around msgbuf_peekbytes() still remains
questionable. It looks like locks are dropped while performing copies of
multiple blocks to userspace, which may cause the msgbuf to be reset in
the mean time. At least getting it underneath from Giant should make it
a little easier for us to figure out how to solve that.

Reminded by:	rdivacky
2009-11-03 21:06:19 +00:00
..
amd64 Fix some problems with effective mmap() offsets > 32 bits. This was 2009-10-28 20:17:54 +00:00
arm MFp4: 2009-10-31 13:24:14 +00:00
boot Close a file descriptor leak in an error case. 2009-10-28 10:06:27 +00:00
bsm Add audit events for process descriptor system calls, which will appear in 2009-09-29 21:25:59 +00:00
cam MFp4: 2009-11-03 11:19:05 +00:00
cddl - zfs_zaccess() can handle VAPPEND too, so map V_APPEND to VAPPEND and call 2009-10-30 23:33:06 +00:00
compat Revert a functional change that snuck in. 2009-11-02 19:13:12 +00:00
conf Reimplement the lazy FP context switching: 2009-10-31 22:27:31 +00:00
contrib Updated iwn(4) driver supporting the newer series, 5000, 5150 and 5300. 2009-10-23 22:04:18 +00:00
crypto Changed to M_NOWAIT when reallocing psc_buf in padlock_sha_update(), 2009-05-27 09:52:12 +00:00
ddb Put square backets ([]) around process names for system processes to patch 2009-10-01 19:12:14 +00:00
dev Fix VESA color palette corruption: 2009-11-03 20:22:09 +00:00
fs There is no need to "busy" a page when the object is locked for the duration 2009-10-26 18:02:05 +00:00
gdb
geom Set the active flag in the PMBR when we install bootcode on a GPT 2009-10-14 19:24:01 +00:00
gnu Fix the build by using proper format. 2009-06-25 16:48:13 +00:00
i386 Unobfuscate unit number handling in apm(4). 2009-10-31 10:38:30 +00:00
ia64 Reimplement the lazy FP context switching: 2009-10-31 22:27:31 +00:00
isa Tweak the way that the ACPI and ISA bus drivers match hint devices to 2009-08-24 21:51:46 +00:00
kern Make /dev/klog and kern.msgbuf* MPSAFE. 2009-11-03 21:06:19 +00:00
kgssapi When the KOBJMETHOD() macro was updated, it resulted in the 2009-06-14 17:33:46 +00:00
libkern done method is supposed to return int. 2009-06-22 22:09:18 +00:00
mips In r197963, a race with thread being selected for signal delivery 2009-10-27 10:47:58 +00:00
modules Updates to the iwn driver: 2009-10-24 09:55:11 +00:00
net Remove unneeded blank line from bpf_drvinit(). 2009-10-23 17:26:29 +00:00
net80211 Update the route's sequence number upon receiving a RANN. 2009-10-29 12:19:10 +00:00
netatalk Reverse misordered unlock and lock in at_control for netatalk phase I 2009-08-12 10:44:13 +00:00
netgraph Spell DIAGNOSTIC correctly. 2009-10-24 18:49:17 +00:00
netinet Fix two issues that can lead to exceeding configured pipe bandwidth: 2009-11-03 08:41:14 +00:00
netinet6 Use the correct option name in the preprocessor command to enable 2009-10-23 18:27:34 +00:00
netipsec Changed an IPSEC_ASSERT to a simple test, as such invalid packets 2009-10-01 15:33:53 +00:00
netipx Use queue(9) instead of hand-crafted link lists for the global IPX 2009-06-24 20:57:50 +00:00
netnatm Reimplement the netisr framework in order to support parallel netisr 2009-06-01 10:41:38 +00:00
netncp
netsmb Don't print out a message on loading a module. 'kldload -v' and 'kldstat 2009-09-10 18:33:08 +00:00
nfs Revert rev 192323 (nfs_common.c only): 2009-07-12 03:53:52 +00:00
nfsclient Close a race with caching of -ve name lookups in the NFS client. 2009-10-16 19:30:48 +00:00
nfsserver Ensure that tv_sec is between INT32_MIN and INT32_MAX, so ZFS won't object. 2009-09-26 18:23:16 +00:00
nlm Handle GRANTED_RES messages more gracefully: Send along a grant cookie 2009-10-07 19:50:14 +00:00
opencrypto If crypto operation is finished with EAGAIN, don't repeat operation from 2009-09-04 09:48:18 +00:00
pc98 In r197963, a race with thread being selected for signal delivery 2009-10-27 10:47:58 +00:00
pci intpm/sb700: force polling mode if configured interrupt is SMI 2009-09-19 08:56:28 +00:00
powerpc Unbreak cpu_switch(). The register allocator in my brain is clearly 2009-10-31 20:59:13 +00:00
rpc Set the prison in NFS anon and GSS SVC creds (as I indended to in r197581). 2009-09-28 18:55:29 +00:00
security Having thrown the cat out of the house, add a necessary include. 2009-09-08 13:24:36 +00:00
sparc64 In r197963, a race with thread being selected for signal delivery 2009-10-27 10:47:58 +00:00
sun4v In r197963, a race with thread being selected for signal delivery 2009-10-27 10:47:58 +00:00
sys Make /dev/klog and kern.msgbuf* MPSAFE. 2009-11-03 21:06:19 +00:00
teken Discard Device Control Strings and Operating System Commands. 2009-10-08 10:26:49 +00:00
tools Output a comment on top of each generated file explaining where it came 2009-10-25 09:48:21 +00:00
ufs Don't build ufs_gjournal.c at all if UFS_GJOURNAL option is not given 2009-09-22 16:22:05 +00:00
vm Eliminate a bit of hackery from vm_fault(). The operations that this 2009-11-03 17:15:15 +00:00
xdr Add a check for a NULL mbuf ptr at the beginning of xdrmbuf_inline() 2009-08-12 16:27:51 +00:00
xen Temporarily revert the new-bus locking for 8.0 release. It will be 2009-08-20 19:17:53 +00:00
Makefile