From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1K3cYk-0002rb-HN for user-mode-linux-devel@lists.sourceforge.net; Tue, 03 Jun 2008 12:52:56 -0700 Received: from 41-052.adsl.zetnet.co.uk ([194.247.41.52] helo=mail.esperi.org.uk ident=user95968) by mail.sourceforge.net with esmtp (Exim 4.44) id 1K3cYi-0005Mg-Bg for user-mode-linux-devel@lists.sourceforge.net; Tue, 03 Jun 2008 12:52:41 -0700 References: <20080603190235.GA9511@c2.user-mode-linux.org> <20080603123211.e129c222.akpm@linux-foundation.org> <200806031543.56864.dhazelton@enter.net> From: Nix Date: Tue, 03 Jun 2008 20:52:18 +0100 In-Reply-To: <200806031543.56864.dhazelton@enter.net> (Daniel Hazelton's message of "Tue, 3 Jun 2008 15:43:56 -0400") Message-ID: <878wxmfg99.fsf@hades.wkstn.nix> MIME-Version: 1.0 Subject: Re: [uml-devel] [PATCH 1/6] UML - Deal with host time going backwards List-Id: The user-mode Linux development list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: user-mode-linux-devel-bounces@lists.sourceforge.net Errors-To: user-mode-linux-devel-bounces@lists.sourceforge.net To: Daniel Hazelton Cc: Andrew Morton , akpm@linuxfoundation.org, Jeff Dike , user-mode-linux-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org On 3 Jun 2008, Daniel Hazelton said: > On Tuesday 03 June 2008 03:32:11 pm Andrew Morton wrote: >> On Tue, 3 Jun 2008 15:02:35 -0400 >> >> Jeff Dike 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. Quite so. Simply running ntp on the host (in slew-only mode, no less!) can cause this. > Another possibility is that the hosts clock got reset between the times UML > has checked it and the correction was a negative one. That too. -- `If you are having a "ua luea luea le ua le" kind of day, I can only assume that you are doing no work due [to] incapacitating nausea caused by numerous lazy demons.' --- Frossie ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel