freebsd-src/sys
Nathan Whitehorn e69dff491d Use the ABI-mandated thread pointer register (r2 for ppc32, r13 for ppc64)
instead of a PCPU field for curthread. This averts a race on SMP systems
with a high interrupt rate where the thread looking up the value of
curthread could be preempted and migrated between obtaining the PCPU
pointer and reading the value of pc_curthread, resulting in curthread being
observed to be the current thread on the thread's original CPU. This played
merry havoc with the system, in particular with mutexes. Many thanks to
jhb for helping me work this one out.

Note that Book-E is in principle susceptible to the same problem, but has
not been modified yet due to lack of Book-E hardware.

MFC after:	2 weeks
2011-06-23 22:21:28 +00:00
..
amd64 Move {amd64,i386}/pci/pci_bus.c and {amd64,i386}/include/pci_cfgreg.h to 2011-06-22 21:04:13 +00:00
arm MFC 2011-05-13 20:58:48 +00:00
boot The recent change to increase the zfsboot size to 64k made a few BIOSes 2011-06-23 15:53:17 +00:00
bsm
cam Fix ATAPI breakage introduced by r223443. It made SCSI commands to ATAPI 2011-06-23 15:10:44 +00:00
cddl Fix clang warnings. 2011-06-18 13:56:33 +00:00
compat Return empty cmdline/environ string for processes with kernel address 2011-06-17 07:30:56 +00:00
conf - Add more USB templates for various USB device classes 2011-06-23 07:54:03 +00:00
contrib Add _mbuf() variants of various inpcb-related interfaces, including lookup, 2011-06-04 16:33:06 +00:00
crypto
ddb Fix making kernel dumps from the debugger by creating a command 2011-06-07 01:28:12 +00:00
dev Put back the global for rx processing due to popular demand. 2011-06-23 17:42:27 +00:00
fs Plug an mbuf leak in the new NFS client that occurred when a 2011-06-22 21:10:12 +00:00
gdb
geom Change the way how we update bootcode for BSD scheme. 2011-06-20 12:22:30 +00:00
gnu Fix typo in unused function name 2011-05-22 09:58:48 +00:00
i386 Move {amd64,i386}/pci/pci_bus.c and {amd64,i386}/include/pci_cfgreg.h to 2011-06-22 21:04:13 +00:00
ia64 Unblock the outgoing thread after we performed pmap_switch() to 2011-06-23 16:21:43 +00:00
isa Move VT switching hack for suspend/resume from bus drivers to syscons.c 2011-05-09 18:46:49 +00:00
kern Set negative quality to TSC timecounter when C3 state is enabled for Intel 2011-06-22 16:40:45 +00:00
kgssapi Fix the kgssapi so that it can be loaded as a module. Currently 2011-06-19 22:08:55 +00:00
libkern
mips MFC 2011-06-04 22:05:20 +00:00
modules Fix make buildworld -DMODULES_WITH_WORLD 2011-06-23 20:31:52 +00:00
net Garbage collect never used global, sysctl, externs. 2011-06-21 07:19:03 +00:00
net80211 Add a callback for ADDBA response timeouts. 2011-06-20 11:46:03 +00:00
netatalk
netgraph Be consistent with r160968: keep autoSrcAddr flag untouched when 2011-06-23 09:42:41 +00:00
netinet Export AddLink() function from libalias. It can be used when custom 2011-06-22 20:00:27 +00:00
netinet6 Add the missing call to ip6_ipsec_filtertunnel() to be able to control 2011-06-08 10:59:36 +00:00
netipsec Release SP's refcount in key_get_spdbyid(). 2011-05-09 13:16:21 +00:00
netipx
netnatm
netncp
netsmb
nfs Change the sysctl naming for the old and new NFS clients 2011-05-15 20:52:43 +00:00
nfsclient Fix the kgssapi so that it can be loaded as a module. Currently 2011-06-19 22:08:55 +00:00
nfsserver Fix the kgssapi so that it can be loaded as a module. Currently 2011-06-19 22:08:55 +00:00
nlm Add a lock flags argument to the VFS_FHTOVP() file system 2011-05-22 01:07:54 +00:00
ofed MFC 2011-05-27 16:09:10 +00:00
opencrypto
pc98 - Reduce diffs against i386. 2011-06-13 13:24:33 +00:00
pci
powerpc Use the ABI-mandated thread pointer register (r2 for ppc32, r13 for ppc64) 2011-06-23 22:21:28 +00:00
rpc Fix the kgssapi so that it can be loaded as a module. Currently 2011-06-19 22:08:55 +00:00
security
sparc64 Fix whitespace 2011-06-21 20:50:55 +00:00
sys Set negative quality to TSC timecounter when C3 state is enabled for Intel 2011-06-22 16:40:45 +00:00
teken mdoc: reorder sections consistently 2011-06-02 09:56:53 +00:00
tools
ufs - Fix directory count rollbacks by passing the mode to the journal dep 2011-06-20 03:25:09 +00:00
vm Revert to using the page queues lock in vm_page_clear_dirty_mask() on 2011-06-23 05:23:59 +00:00
x86 Move {amd64,i386}/pci/pci_bus.c and {amd64,i386}/include/pci_cfgreg.h to 2011-06-22 21:04:13 +00:00
xdr
xen Monitor and emit events for XenStore changes to XenBus trees 2011-06-11 04:59:01 +00:00
Makefile Include sys/xen in cscope tag file generation. 2011-06-10 20:51:41 +00:00