CVSROOT: /cvs Module name: src Changes by: [email protected] 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@
