periodically save current time to time-of-day hardware

Dag-Erling Smørgrav des at
Fri Mar 26 15:44:03 UTC 2010

Andriy Gapon <avg at> writes:
> What do you think about the following patch or something similar?

I've wondered for years why we didn't already do this.

> Also, I am aware that the period should be configurable (sysctl).


Although I can see an argument for a sysctl to turn it on or off.

IIRC, Linux saves the clock at shutdown, and every 11 minutes if and
only if the system clock is synchronized to an external reference.

Dag-Erling Smørgrav - des at

More information about the freebsd-hackers mailing list