[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0608291635260.6761@scrub.home>
Date: Tue, 29 Aug 2006 16:43:58 +0200 (CEST)
From: Roman Zippel <zippel@...ux-m68k.org>
To: john stultz <johnstul@...ibm.com>
cc: linux@...izon.com, linux-kernel@...r.kernel.org, theotso@...ibm.com
Subject: Re: Linux time code
Hi,
On Mon, 28 Aug 2006, john stultz wrote:
> While its possible to smooth out the leapsecond (which would be useful
> to many folks), the problem is one's system would then diverge from UTC
> for that leapsecond.
>
> The idea he's proposing here is to keep both UTC and UTS as separate
> clock ids, allowing apps to choose which standard (well, I UTS isn't
> quite a standard) they want to follow.
Making it a separate clock would be a bit more complex and I don't know if
it's really worth it for an event that only happens every few years.
We already have everything we need to adjust CLOCK_REALTIME, so it would
be not a real problem to support a timezone UTS.
> I think this would be quite useful, as I've seen a number of requests
> where users don't want the leapsecond inconsistency, and others where
> they need to strictly follow UTC.
>
> I think having TAI would be nice too, but that requires quite a bit of
> infrastructure work (NTP distributing absolute leapsecond counts, etc).
That's the other possibility, as soon as we update the userspace interface
to NTP4, it will also include the TAI value, so it will be available via
adjtimex()/ntp_gettime().
bye, Roman
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists