Make access to basetime MP safe and interrupt-race safe by using a simple
authorMatthew Dillon <dillon@dragonflybsd.org>
Sat, 23 Apr 2005 20:34:32 +0000 (20:34 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Sat, 23 Apr 2005 20:34:32 +0000 (20:34 +0000)
commit5eb5a6bc69654058d9113da0ceab5fcbf5c2a75a
treec6301dbaf8e001835df7e37455a333e49b36e969
parentcebaad99952c80534cca1945530d8c7496794aff
Make access to basetime MP safe and interrupt-race safe by using a simple
tail-chasing FIFO for updates to basetime.

Reorganize the PROC sysctl's.  This actually undoes part of the last commit
and redoes it, though there was nothing wrong with the last commit.

Move the SYSCTL_OUT phase to *after* the SYSCTL_IN phase.
sys/kern/kern_clock.c
sys/kern/kern_ntptime.c
sys/kern/kern_time.c