Messages in this thread |  | | | From | Daniel Hazelton <> | | Subject | Re: [PATCH 1/6] UML - Deal with host time going backwards | | Date | Wed, 4 Jun 2008 01:12:34 -0400 | |
On Tuesday 03 June 2008 09:50:49 pm Eric W. Biederman wrote:
> Jeff Dike <jdike@addtoit.com> writes:
> > On Tue, Jun 03, 2008 at 01:07:09PM -0700, Andrew Morton wrote:
> >> So if I change the host's time by an hour, the time will not advance at
> >> all on the guest for the next hour? Sounds suboptimal :)
> >
> > It is, but if the host is whacked, the guest just has to do the best that
> > it can...
>
> Could using a CLOCK_MONOTONIC time source fix this? Those timers do not
> change when we change the time on the host.
>
> Eric
I'm not all that familiar with the specifics of the code - my original
statements about possible causes were barely more than wild guesses - but
this does sound like it would work.
DRH
--
Dialup is like pissing through a pipette. Slow and excruciatingly painful.
|  |