[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-devel] TPR write optimization (even improves 2003 sp2)


  • To: "Keir Fraser" <keir.fraser@xxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • 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
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • 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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.