CVSROOT:        /cvs
Module name:    src
Changes by:     bl...@cvs.openbsd.org   2018/09/18 14:47:11

Modified files:
        sys/kern       : kern_tc.c 

Log message:
Updating time counters without memory barriers is wrong.  Put
membar_producer() into tc_windup() and membar_consumer() into the
uptime functions.  They order the visibility of the time and
generation number updates.
This is a combination of what NetBSD and FreeBSD do.
OK kettenis@

Reply via email to