Re: [RFC][PATCH 4/4] time: Do leapsecond adjustment in gettime fastpaths

From: Thomas Gleixner
Date: Fri Jun 05 2015 - 08:07:26 EST


On Fri, 5 Jun 2015, Prarit Bhargava wrote:

>
>
> On 06/05/2015 05:04 AM, Richard Cochran wrote:
> > On Fri, Jun 05, 2015 at 09:29:13AM +0200, Peter Zijlstra wrote:
> >> That leaves the question; for who is this exact second edge important?
> >
> > Distributed applications using the UTC time scale.
> >
> > Many control applications are done with a 1 millisecond period.
> > Having the time wrong by a second for 10 or 100 loops is bad news.

Control applications with a 1ms period running on CLOCK_REALTIME are
broken by definition.

> >
>
> Anything starting @ UTC midnight (I think that would be Beijing, China?) ...
> being one second off is not good.
>
> P.
>
> > Thanks,
> > Richard
> >
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/