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] RE: [PATCH] rendezvous-based local time calibration WOW!

To: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] RE: [PATCH] rendezvous-based local time calibration WOW!
From: John Levon <levon@xxxxxxxxxxxxxxxxx>
Date: Mon, 11 Aug 2008 19:41:39 +0100
Cc: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>, Nils Nieuwejaar <nils.nieuwejaar@xxxxxxxxx>, Dave Winchell <dwinchell@xxxxxxxxxxxxxxx>, "Xen-Devel \(E-mail\)" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Ian Pratt <Ian.Pratt@xxxxxxxxxxxxx>
Delivery-date: Mon, 11 Aug 2008 11:42:20 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C4C61061.25541%keir.fraser@xxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20080811144910.GC18063@xxxxxxxxxxxxxxxxxxxxxxx> <C4C61061.25541%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
On Mon, Aug 11, 2008 at 03:50:57PM +0100, Keir Fraser wrote:

> >> What guarantee are you providing? Per thread, per address space, or global
> >> monotonicity?
> > 
> > Per thread non-strict monotonicity.
> 
> Doesn't this just require thread-local storage and no lock?

The above is what we guarantee but it's not how it's implemented. All of
that is based upon the per-CPU hrtime, so we need the lock (or a
wholesale rework of how hrtime is managed in the Solaris kernel: that's
not going to happen :)

regards
john

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