Now
MAIN commitmail json YAML
src/sys/kern/kern_lwp.c@1.248
/
diff
/
nxr@1.248
src/sys/kern/kern_turnstile.c@1.42 / diff / nxr@1.42
src/sys/sys/lwp.h@1.215 / diff / nxr@1.215
src/sys/kern/kern_turnstile.c@1.42 / diff / nxr@1.42
src/sys/sys/lwp.h@1.215 / diff / nxr@1.215
kern: Handle l_mutex with atomic_store_release, atomic_load_consume.
- Where the lock is held and known to be correct, no atomic.
- In loops to acquire the lock, use atomic_load_relaxed before we
restart with atomic_load_consume.
Nix membar_exit.
(Who knows, using atomic_load_consume here might fix bugs on Alpha!)
- Where the lock is held and known to be correct, no atomic.
- In loops to acquire the lock, use atomic_load_relaxed before we
restart with atomic_load_consume.
Nix membar_exit.
(Who knows, using atomic_load_consume here might fix bugs on Alpha!)