Re: [PATCH] Close small window for vsyscall time inconsistencies

From: Thomas Gleixner
Date: Mon Apr 07 2008 - 02:33:54 EST


On Mon, 7 Apr 2008, Roman Zippel wrote:
> Hi,
>
> On Friday 4. April 2008, john stultz wrote:
>
> > So Thomas and Ingo pointed out to me that they were occasionally seeing
> > small 1ns inconsistencies from clock_gettime() (and more rarely, 1us
> > inconsistencies from gettimeofday() when the 1ns inconsistency occurred
> > on a us boundary)
>
> What does inconsistency mean?

Time is going backwards by 1us/1nsec.

> So instead of shooting in the dark, I'd suggest to collect some
> numbers first,

That's what we did and John's analysis of the problem is pretty
correct.

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