David L. Mills wrote: > Terje, > > The NTP daemon has no idea how to handle leapseconds, only to notify the > kernel that one is to occur. You should ask the kernel how it does that. > As described in the white papers at the NTP project page, one approach > is to stop the clock at the end of the previous day and start it up > again one second later. Whatever method you use, you want to slow the > clock progress down during the second, not speed it up. > > The method used in the kernels that have my code is to actually set the > kernel time variable back one second, but force the clock value returned > to the caller always to be monotonically increasing, even if at a slow > rate. There is a diagram and detailed discussion in the white paper. > > Dave
That's exactly what I would recommend be implemented. Danny _______________________________________________ questions mailing list [email protected] https://lists.ntp.isc.org/mailman/listinfo/questions
