1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-02 12:20:51 +00:00
freebsd/sys
Marcel Moolenaar f1acb9d36e Eliminate the PC_CURTHREAD symbol and load the current thread's
thread structure pointer atomically from r13 (the pcpu pointer)
for the current CPU/core.
Add a CTASSERT in machdep.c to make sure that pc_curthread is in
fact the first field in struct pcpu.

The only non-atomic operations left were those related to process-
space operations, such as casuword, subyte, suword16, fubyte,
fuword16, copyin, copyout and their variations.

The casuword function has been re-structured more complete than
the others. This way we have an example of a better bundling
without introducing a lot of risk when we get it wrong. The
other functions can be rebundled in separate commits and with
the appropriate testing.
2013-02-12 17:38:35 +00:00
..
amd64 Implement guest vcpu pinning using 'pthread_setaffinity_np(3)'. 2013-02-11 20:36:07 +00:00
arm Reform the busdma API so that new types may be added without modifying 2013-02-12 16:57:20 +00:00
boot Add watchdog driver for Allwinner A10 2013-02-11 11:31:23 +00:00
bsm Style. 2013-02-11 23:14:54 +00:00
cam Reform the busdma API so that new types may be added without modifying 2013-02-12 16:57:20 +00:00
cddl Merge zfs_ioctl.c code that should have been merged together with ZFS v28. 2013-02-11 21:10:55 +00:00
compat
conf Reform the busdma API so that new types may be added without modifying 2013-02-12 16:57:20 +00:00
contrib
crypto
ddb
dev Reform the busdma API so that new types may be added without modifying 2013-02-12 16:57:20 +00:00
fs ext2fs: Use prototype declarations for function definitions 2013-02-10 19:49:37 +00:00
gdb
geom
gnu/fs
i386
ia64 Eliminate the PC_CURTHREAD symbol and load the current thread's 2013-02-12 17:38:35 +00:00
isa
kern Reform the busdma API so that new types may be added without modifying 2013-02-12 16:57:20 +00:00
kgssapi
libkern
mips Reform the busdma API so that new types may be added without modifying 2013-02-12 16:57:20 +00:00
modules Fix LINT build for ARM. 2013-02-09 06:31:22 +00:00
net Resolve source address selection in presense of CARP. Add a couple 2013-02-11 10:58:22 +00:00
net80211 Substitute '#ifdef ALIGNED_POINTER' with '#ifndef __NO_STRICT_ALIGNMENT', 2013-02-12 11:24:37 +00:00
netatalk
netgraph ng_ether_ifnet_arrival_event: check interface type before using IFP2NG 2013-02-04 17:29:13 +00:00
netinet Send the adaptation layer indication only if set by the user. 2013-02-11 21:02:49 +00:00
netinet6
netipsec
netipx
netnatm
netncp
netpfil
netsmb
nfs
nfsclient Rework the handling of stop signals in the NFS client. The changes in 2013-02-06 17:06:51 +00:00
nfsserver
nlm
ofed Fix LINT build on amd64. 2013-02-09 04:13:45 +00:00
opencrypto
pc98
pci
powerpc Reform the busdma API so that new types may be added without modifying 2013-02-12 16:57:20 +00:00
rpc
security Style. 2013-02-11 22:54:23 +00:00
sparc64 Reform the busdma API so that new types may be added without modifying 2013-02-12 16:57:20 +00:00
sys Reform the busdma API so that new types may be added without modifying 2013-02-12 16:57:20 +00:00
teken
tools
ufs Fix several unsafe pointer dereferences in the buffered_write() 2013-02-10 10:17:33 +00:00
vm
x86 Reform the busdma API so that new types may be added without modifying 2013-02-12 16:57:20 +00:00
xdr
xen
Makefile