WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] Fix clock_gettime to increment monotonically onP

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] Fix clock_gettime to increment monotonically onPV-domain/x86
From: John Levon <levon@xxxxxxxxxxxxxxxxx>
Date: Fri, 15 Jun 2007 15:32:19 +0100
Cc: Atsushi SAKAI <sakaia@xxxxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, Keir Fraser <keir@xxxxxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxxxx>
Delivery-date: Fri, 15 Jun 2007 07:30:19 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C2985E38.9388%Keir.Fraser@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20070615140007.GB14822@xxxxxxxxxxxxxxxxxxxxxxx> <C2985E38.9388%Keir.Fraser@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
On Fri, Jun 15, 2007 at 03:18:16PM +0100, Keir Fraser wrote:

> >> IIUC this would make it less likely to see time going backwards, but when
> >> you do it'll be by a lot more (the size of your precision granularity), and
> >> it'll occur when your time values are unlucky enough to be just on the 
> >> wrong
> >> sides of a boundary between two time intervals which map to different
> >> lower-precision time values.
> > 
> > The idea is that it would never be wrong enough to hit that case (taken
> > to extremes we wouldn't expect to see it go backwards by a minute!)
> 
> Then I don't understand what you're proposing (I thought you were just
> shaving off least-significant bits, but it must be smarter than that).

Sorry, I misunderstood you. Yes, you're right, this doesn't seem
workable. Bah.

john

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>