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:09:09 +1100
Cc:
Delivery-date: Thu, 08 Jan 2009 01:13:15 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C58B72D6.20DBE%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: <AEC6C66638C05B468B556EA548C1A77D01550264@trantor> <C58B72D6.20DBE%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AclwbQESFc81qMn2SR2vAjv2yU5MgQABpemAAAyUQdEAAFfuQAAAdgGuAAA1Q7AAAPb/BAAAN9OgAADpQpkAA5LWcAAAj3LQABWGf/AAA+R78AAR/80QAAAI8AA=
Thread-topic: [Xen-devel] TPR write optimization (even improves 2003 sp2)
> On 08/01/2009 00:40, "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
wrote:
> 
> > I just quickly implemented this as a 'proof of concept' by adding a
> > XENMAPSPACE_vlapic_regs function to XENMEM_add_to_physmap, and it
works,
> > but only after I removed regs_page from the vlapic struct and used
> > alloc_xenheap_page instead of alloc_domheap_page and then
> > share_xen_page_with_guest. Can I do it with alloc_domheap_page? It
> > didn't 'just work' when I did it that way... (and I had to comment
out
> > the use of regs_page in the vmx code to get it to compile, so as it
> > stands it probably wouldn't work on Intel).
> 
> Using alloc_xenheap_page would be okay.

Is it possible to map a page allocated with alloc_domheap_page into the
domain? The semantics must be different as it didn't work the way I
expected it to...

James


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