freebsd-dev/sys
Konstantin Belousov a5bd21d0fe Use relaxed atomics to access the monitor line.
We must ensure that accesses occur, they do not have any other
compiler-visible effects.  Bruce found some situations where
optimization could remove an access, and provided a patch to use
volatile qualifier for the state variables.  Since volatile behaviour
there is the compiler-specific interpretation of the keyword, use
relaxed atomics instead, which gives exactly the desired semantic.

Noted by and discussed with:	bde
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
2018-04-24 14:02:46 +00:00
..
amd64 Correct undesirable interaction between caching of %cr4 in bhyve and 2018-04-24 13:44:19 +00:00
arm Implement 32-bit atomic_fcmpset() in userland for armv4/v5. 2018-04-23 17:00:15 +00:00
arm64 Remove the unused fuwintr() and suiwintr() functions. 2018-04-17 18:04:28 +00:00
bsm
cam Just assert that the lock is held here, rather than taking it out and 2018-04-13 16:45:35 +00:00
cddl dtrace: depessimize dtmalloc when dtrace is active 2018-04-24 01:06:20 +00:00
compat Fix futexes on i386 after the 4/4G split. 2018-04-24 12:50:21 +00:00
conf [amdsbwd] teach amdsbwd that it has options 2018-04-24 13:07:17 +00:00
contrib Import CK as of commit b19ed4c6a56ec93215ab567ba18ba61bf1cfbac8 2018-04-02 23:40:50 +00:00
crypto opencrypto: Integrate Chacha20 algorithm into OCF 2018-03-29 04:02:50 +00:00
ddb Restore db_radix on parse error, otherwise we'll silently change it to 2018-04-17 15:44:05 +00:00
dev [amdsbwd] teach amdsbwd that it has options 2018-04-24 13:07:17 +00:00
dts Enable ARM PL330 DMA engine and Cadence Quad SPI flash controller on 2018-04-23 12:23:05 +00:00
fs Fix use of pointer after being set NULL. 2018-04-20 11:38:29 +00:00
gdb
geom Annotate geom modules with MODULE_VERSION 2018-04-10 19:18:16 +00:00
gnu gnu/dts: Update our copy of arm dts from Linux 4.16 2018-04-20 19:37:08 +00:00
i386 Fix futexes on i386 after the 4/4G split. 2018-04-24 12:50:21 +00:00
isa
kern lockf: change the owner hash from pid to vnode-based 2018-04-24 06:10:36 +00:00
kgssapi
libkern
mips Relock PROC_LOCK before one failure case in ptrace_single_step(). 2018-04-24 05:42:10 +00:00
modules Fix futexes on i386 after the 4/4G split. 2018-04-24 12:50:21 +00:00
net Finish removing FDDI and tokenring media support. 2018-04-23 21:10:33 +00:00
net80211 Use an accessor function to access ifr_data. 2018-03-30 18:50:13 +00:00
netgraph
netinet Load balance sockets with new SO_REUSEPORT_LB option 2018-04-23 19:51:00 +00:00
netinet6 Load balance sockets with new SO_REUSEPORT_LB option 2018-04-23 19:51:00 +00:00
netipsec
netpfil To avoid possible deadlock do not acquire JQUEUE_LOCK before callout_drain. 2018-04-13 10:03:30 +00:00
netsmb
nfs Remove support for FDDI networks. 2018-04-11 17:28:24 +00:00
nfsclient
nfsserver
nlm
ofed Improve copy-and-pasted versions of SIOCGIFADDR. 2018-03-27 20:51:49 +00:00
opencrypto cryptosoft: Do not exceed crd_len around *crypt_multi 2018-04-19 15:24:21 +00:00
powerpc Fix the build post r332859 2018-04-22 03:58:04 +00:00
riscv Remove the unused fuwintr() and suiwintr() functions. 2018-04-17 18:04:28 +00:00
rpc
security Use an accessor function to access ifr_data. 2018-03-30 18:50:13 +00:00
sparc64 Remove references to fs_nofault_intr_begin/end. 2018-04-17 22:30:00 +00:00
sys lockstat: track lockstat just like sdt probes 2018-04-24 01:04:10 +00:00
teken Pedantic polishing of code to please FlexeLint. 2018-04-08 19:23:50 +00:00
tests
tools Add dtb overlays support 2018-03-24 21:30:24 +00:00
ufs Renumber soft-update types starting at 1 instead of 0 to avoid confusion 2018-04-05 00:32:01 +00:00
vm Initialize marker pages in vm_page_domain_init(). 2018-04-19 14:09:44 +00:00
x86 Use relaxed atomics to access the monitor line. 2018-04-24 14:02:46 +00:00
xdr
xen
Makefile