summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2017-10-24 08:53:16 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2017-10-24 08:53:16 +0000
commit1e0f3ecacdd43839fb71c03b5797317c4cd9701d (patch)
treec77e5c406c7ed54e64aa93decc9172f43b90a409 /games
parent7bf457912b08c92454707838773e51f0ba537965 (diff)
Use membar_enter_after_atomic(9) amd membar_exit_before_atomic(9).
Micro-optimization useful to x86 archs where the cmpxchg{q,l} instruction used by rw_enter(9) and rw_exit(9) already include an implicit memory barrier. From Mateusz Guzik, ok visa@, mikeb@, kettenis@
Diffstat (limited to 'games')
0 files changed, 0 insertions, 0 deletions