OpenBSD cvs log

created 2019-03-03T02:51:43Z
begin 2019-02-25T00:00:00Z
end 2019-02-26T00:00:00Z
path src/sys
commits 2

date 2019-02-25T04:50:25Z
author visa
files src/sys/kern/kern_lock.c log diff annotate
message Fix memory barrier in __mtx_leave(). membar_exit_before_atomic() cannot
be used in the routine because there is no subsequent atomic operation.
membar_exit() has to be used instead.

The mistake has not caused problems because on most platforms
membar_exit_before_atomic() is membar_exit(). Only amd64 and i386 have
a dedicated membar_exit_before_atomic(), and their exit barriers are
no-ops.

OK dlg@

date 2019-02-25T11:29:30Z
author jca
files src/sys/arch/luna88k/dev/siotty.c log diff annotate
message Typo in comment

spotted by miod