diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2017-10-24 08:53:16 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2017-10-24 08:53:16 +0000 |
commit | 1e0f3ecacdd43839fb71c03b5797317c4cd9701d (patch) | |
tree | c77e5c406c7ed54e64aa93decc9172f43b90a409 /games | |
parent | 7bf457912b08c92454707838773e51f0ba537965 (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