[lkml]   [2002]   [Aug]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: AGAIN: Re: gettimeofday clock jump bug (on AMD 756)

"Ph. Marek" wrote:
> The difference is both times about 4295 seconds - so I think that the problem
> has something to do with 2^32 microseconds.

This 2^32 jump is consistent with the jumps I saw.

I was discussing this issue with Richard Moore (IBM) a couple of weeks
ago and he mentionned that they had seen a similar problem with OS/2.
In that case, the problems were due to the time it took to read some
timer register. In other words, there may be a short time-window where
the values available are valid and nothing is garanteed if we exceed this
time-window. (This is second hand and I may have misunderstood a couple
of details, so I attached Richard so he can confirm/deny what I'm saying

Linux reads the PIT (8253) every 10ms on a PC, so the question is:
anyone know about 8253 reading deadlines ?


Karim Yaghmour
Embedded and Real-Time Linux Expert
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:28    [W:0.268 / U:1.532 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site