Thread (40 messages) 40 messages, 6 authors, 2011-01-13

Re: [PATCH V8 02/13] ntp: add ADJ_SETOFFSET mode bit

From: Kuwahara,T. <hidden>
Date: 2011-01-12 20:39:48
Also in: linux-api, lkml

On Wed, Jan 12, 2011 at 5:55 AM, john stultz [off-list ref] wrote:
So the kernel handles leap second insertion via a timer. Thus at the end
of 23:59:59, it will inject a leapsecond by setting the time back by one
second (back to 23:59:59) and setting the TIME_OOP flag.

This timer is an absolute timer, so if someone moves the clock forward
across the 23:59:59 boundary, the adjustment will still be made.

The patch is not broken, nor useless.
It takes into account only one upcoming leap second, but ignores all
the others.  That's not sufficient for arbitrary adjustments.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help