Re: [PATCH 1/6] UML - Deal with host time going backwards

From: Daniel Hazelton
Date: Tue Jun 03 2008 - 15:44:28 EST


On Tuesday 03 June 2008 03:32:11 pm Andrew Morton wrote:
> On Tue, 3 Jun 2008 15:02:35 -0400
>
> Jeff Dike <jdike@xxxxxxxxxxx> wrote:
> > Protection against the host's time going backwards - keep track of the
> > time at the last tick and if it's greater than the current time, keep
> > time stopped until the host catches up.
>
> Strange. What would cause the host's time (or at least UML's perception
> of it) to go backwards?

A wild guess would be that the UML process is running "fast" at some point and
its expectation of the host's time is skewed forward because of that.

Another possibility is that the hosts clock got reset between the times UML
has checked it and the correction was a negative one.

DRH

--
Dialup is like pissing through a pipette. Slow and excruciatingly painful.
--
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/