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

[Xen-devel] RE: [PATCH] trust new architecturally-defined TSC Invariant

To: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>, "Xen-Devel (E-mail)" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] RE: [PATCH] trust new architecturally-defined TSC Invariant bit on Intel systems
From: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>
Date: Fri, 9 Oct 2009 10:47:39 -0700 (PDT)
Cc:
Delivery-date: Fri, 09 Oct 2009 10:49:50 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C6F4B4D5.17037%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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
> > Trust new architecturally-defined TSC Invariant bit (on
> > Intel systems only for now, AMD TBD).
> > 
> > Signed-off-by: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>
> 
> Reworked this a bunch, so we always look to the X86_FEATURE_ 
> bits to decide
> what to do, rather than also needing to interpret a growing 
> bunch of boot
> flags.

Eyeballed in staging, looks good, but...

If TSC is reliable, is it still necessary to rendezvous?
I thought the rendezvous was only needed if the slopes
differ (but not sure I've thought it all the way through).
No sense stealing all those pcpu cycles to rendezvous if
it's not necessary, especially on a large system.
(Maybe TSC reliability IS useful for Xen, not just for
exposing to userland :-)

Also, if TSC is constant and no deep-C events have
happened (need a global counter), the rendezvous
might also be avoidable.

Dan

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