[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20090107.103947.1324582654.imp@bsdimp.com>
Date: Wed, 07 Jan 2009 10:39:47 -0700 (MST)
From: "M. Warner Losh" <imp@...imp.com>
To: mayer@....isc.org
Cc: linasvepstas@...il.com, david@...g.hm, hancockr@...w.ca,
kyle@...fetthome.net, slashdot@...eshallam.info,
goodgerster@...il.com, davidn@...idnewall.com,
linux-kernel@...r.kernel.org, ntpwg@...ts.ntp.isc.org,
pretzalz@...hhouse.org, burdell@...ntheinter.net,
nick@...k-andrew.net, jeff@...owsky.org
Subject: Re: [ntpwg] Bug: Status/Summary of slashdot leap-second crash on
new years 2008-2009
In message: <49642674.9080703@....isc.org>
Danny Mayer <mayer@....isc.org> writes:
: Why don't you tell us what the real problem is instead of telling us
: that you need TAI offset information?
The real problem is that POSIX time_t totally ignores leap seconds.
This forces systems that are rolling through a leap second to repeat
time, causing time to jump backwards by 1s (or violate POSIX time_t's
invariant that midnight time_t is % 86400 == 0). This jump backwards
is a pita in the kernel, and violates the assumption that many
programs have that time doesn't flow backwards.
The suggestion to solving this would be to tick in TAI time, and force
userland to cope with the leapsecond issues. Of course, there's a
number of problems with this solution as well, but it feels like it
belongs there...
Warner
--
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