Module Name:    src
Committed By:   riastradh
Date:           Sat Apr  9 23:46:10 UTC 2022

Modified Files:
        src/sys/kern: kern_mutex.c

Log Message:
mutex(9): Convert to membar_acquire/release.

Except for setting the waiters bit -- not sure if this is actually
required to be store-before-load/store.  Seems unlikely -- surely
we'd have seen some serious bug by now if not, because membar_enter
has failed to guarantee that on x86! -- but I'm leaving it for now
until I have time to think enough about it to be sure one way or
another.


To generate a diff of this commit:
cvs rdiff -u -r1.98 -r1.99 src/sys/kern/kern_mutex.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Reply via email to