Re: [LTP] Re: LTP - gettimeofday02 FAIL

Alan Cox (alan@lxorguk.ukuu.org.uk)
19 Nov 2002 15:27:31 +0000


On Tue, 2002-11-19 at 14:24, Andi Kleen wrote:
> It is very hard to solve properly and efficiently. When you search the
> list archives you will find long threads about the problem
> (search for "TSC" and gettimeofday and perhaps HPET or cyclone). Last one
> was one or two weeks ago.
>
> The problem has been there always in some way in linux, now it is just
> exposed in LTP because it tests for it.

Dual ppro boxes normally run with a locked synchronous TSC clock. That
suggests the newer code broke stuff. It may also be due to the bug in
the 2.5 timer handling code (missing delays on timer reads, incorrect
assumption that the timer never reads its limit value during the timer
switch back to zero)

-
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/