From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Kuwahara,T." <6vvetjsrt26xsrzlh1z0zn4d2grdah-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> Subject: Re: [PATCH V8 02/13] ntp: add ADJ_SETOFFSET mode bit Date: Tue, 11 Jan 2011 05:45:50 +0900 Message-ID: References: <20110108175028.GA22308@riccoc20.at.omicron.at> <1294678145.3068.6.camel@work-vm> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: In-Reply-To: <1294678145.3068.6.camel@work-vm> Sender: linux-api-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: john stultz Cc: Richard Cochran , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-api-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Alan Cox , Arnd Bergmann , Christoph Lameter , David Miller , Krzysztof Halasa , Peter Zijlstra , Rodolfo Giometti , Thomas Gleixner List-Id: linux-api@vger.kernel.org On Tue, Jan 11, 2011 at 1:49 AM, john stultz wrote: > Leapsecond processing is done via an absolute hrtimer. Thus when the > time offset is set, the hrtimers that should have expired will fire > (just like with settimeofday) and the adjustment will then be made. How do you convert relative time to absolute time? It's not trivial because TAI offset is also a variable.