lkml.org 
[lkml]   [2009]   [Jan]   [2]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
FromRobert Hancock <>
SubjectRe: Bug: Status/Summary of slashdot leap-second crash on new years 2008-2009
DateFri, 02 Jan 2009 14:25:45 -0600
Diego Calleja wrote:
> El Fri, 2 Jan 2009 13:25:38 -0600, "Linas Vepstas" <linasvepstas@gmail.com> escribió:
> 
>> Suspect its an kernel race condition triggered by ntp bumping the second.
> 
> How could I create a test case that reproduces what ntp does? Just add
> a second?

I'd think that setting the clock to just before midnight on Dec.31 and 
using the adjtimex syscall to set the TIME_INS state on the clock, then 
waiting until midnight rolls around would be a reasonable test..

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2009-01-02 21:29    [from the cache]
©2003-2008