Re: [PATCH] timekeeping: Initialize TAI offset to 37 seconds
From: John Stultz
Date: Thu Nov 05 2026 - 15:05:27 EST
On Thu, Nov 5, 2026 at 5:53 AM Miroslav Lichvar <mlichvar@xxxxxxxxxx> wrote:
>
> With Resolution 5 of the 28th CGPM (continuous UTC becoming effective on
> 20 May 2027) [1] and no leap second announced for the last possible
> date at the end of the year 2026 [2], no more leap seconds or other
> leaps in UTC are expected for at least a few hundred years. The TAI-UTC
> offset can be assumed now to be constant (37 seconds).
>
> Set the offset in the timekeeping initialization to the expected value
> to not require it to be set in user space via ADJ_TAI. It can still be
> changed, and leap seconds can still be set, but nothing should be
> expected to do that anymore. Existing applications are expected to
> either set the offset to the same value, or not touch it at all if they
> see it is not zero.
Should we also emit a warning if/when applications try to change it?
thanks
-john