CVSROOT: /cvs Module name: src Changes by: m...@cvs.openbsd.org 2017/10/24 02:53:15
Modified files: sys/kern : kern_rwlock.c Log message: 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@