- Subject: Re: [PATCH V8 02/13] ntp: add ADJ_SETOFFSET mode bit
- From: "Kuwahara,T." <6vvetjsrt26xsrzlh1z0zn4d2grdah@xxxxxxxxx>
- Date: Thu, 13 Jan 2011 05:39:04 +0900
- Cc: Richard Cochran <richardcochran@xxxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx, linux-api@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxxxxxx, Alan Cox <alan@xxxxxxxxxxxxxxxxxxx>, Arnd Bergmann <arnd@xxxxxxxx>, Christoph Lameter <cl@xxxxxxxxx>, David Miller <davem@xxxxxxxxxxxxx>, Krzysztof Halasa <khc@xxxxxxxxx>, Peter Zijlstra <peterz@xxxxxxxxxxxxx>, Rodolfo Giometti <giometti@xxxxxxxx>, Thomas Gleixner <tglx@xxxxxxxxxxxxx>
- In-reply-to: <1294779309.3441.66.camel@work-vm>
- References: <cover.1293820862.git.richard.cochran@xxxxxxxxxx> <fe2bec763bec155381d62721aa9da84aeca2785c.1293820862.git.richard.cochran@xxxxxxxxxx> <AANLkTini2WdT-1v4k9V3JOZYDkA59P+SyscTe8-fK2Wk@xxxxxxxxxxxxxx> <20110108175028.GA22308@xxxxxxxxxxxxxxxxxxxxxx> <AANLkTikigXGSACF6R6kfNHyKZ7GFWrUrCMxygvL3fUC6@xxxxxxxxxxxxxx> <1294678145.3068.6.camel@work-vm> <AANLkTikdg4Pb5c4wcCU3d3Eku=mpiW_TEkBz0A2VPdVp@xxxxxxxxxxxxxx> <1294693597.3068.12.camel@work-vm> <AANLkTik+2udoJ6JyZMhkd1yhr2W9hSWO_vD_zdm+BoOG@xxxxxxxxxxxxxx> <1294779309.3441.66.camel@work-vm>
On Wed, Jan 12, 2011 at 5:55 AM, john stultz <johnstul@xxxxxxxxxx> 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.
--
To unsubscribe from this list: send the line "unsubscribe linux-api" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Home]
[Linux USB Devel]
[Video for Linux]
[Linux Audio Users]
[Photo]
[Yosemite News]
[Yosemite Photos]
[Free Online Dating]
[Linux Kernel]
[Linux SCSI]
[XFree86]