Re: Fix time going backward with clock=pit [1/2]

From: Andrew Morton
Date: Thu May 18 2006 - 04:10:43 EST

Tim Mann <mann@xxxxxxxxxx> wrote:
> Currently, if you boot with clock=pit on the kernel command line and
> run a program that loops calling gettimeofday, on many machines you'll
> observe that time frequently goes backward by about one jiffy. This
> patch fixes that symptom and also some other related bugs.

It might be a bit late to get this into 2.6.17. Although it does look
pretty safe and simple.

Are many people hitting this problem?

And for 2.6.18 we're hoping to get John's x86 timer rework merged up.
John, do those patches address this bug?

So if we decide these two patches are not-for-2.6.17 then I'll sit on them
until we decide whether or not to merge John's patches. If we do, and if
those patches fix this problem then your two patches aren't needed. If
John's patches don't get merged then I'll need to merge these two.

Hope that all makes sense ;)
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at