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] TPR write optimization (even improves 2003 sp2)

To: "Keir Fraser" <keir.fraser@xxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] TPR write optimization (even improves 2003 sp2)
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Thu, 8 Jan 2009 20:10:12 +1100
Cc:
Delivery-date: Thu, 08 Jan 2009 01:13:53 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C58B730B.20DC3%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: <AEC6C66638C05B468B556EA548C1A77D01550267@trantor> <C58B730B.20DC3%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AclwbQESFc81qMn2SR2vAjv2yU5MgQABpemAAAyUQdEAAFfuQAAAdgGuAAA1Q7AAAPb/BAAAN9OgAADpQpkAA5LWcAAAj3LQABWGf/AAA+R78AAGzflAAAs5uXgAAAgFEA==
Thread-topic: [Xen-devel] TPR write optimization (even improves 2003 sp2)
> On 08/01/2009 03:53, "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
wrote:
> 
> > One (big?) hiccup... how do I make sure that I am accessing the
vlapic
> > structure for the correct CPU? My current idea of
vlapic[current_cpu] is
> > flawed because a thread switch could occur between getting the
address
> > of the vlapic structure for the current cpu and writing a value to
the
> > mapped register.
> >
> > Is it possible to have per-cpu mapping?
> 
> No.
> 
> > Does disabling interrupts via cli cause a VMEXIT?
> 
> No.
> 

Hmmm... so I could use CLI to disable interrupts to ensure that I'll
remain on the same CPU. This idea isn't totally sunk then...

James

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

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