CVSROOT: /cvs Module name: src Changes by: [email protected] 2017/04/04 06:30:04
Modified files:
sys/arch/sparc64/sparc64: lock_machdep.c
Log message:
Issue memory barrier before lock release, not after. This ensures
the release write becomes globally visible only after any writes
of the critical section are globally visible. In practice, the
reordering has not happened because the kernel runs in the total
store order mode.
Tested by and OK kettenis@
