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

[Xen-devel][PATCH] don't split the whole large page while live migration with EPT


  • To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Xin, Xiaohui" <xiaohui.xin@xxxxxxxxx>
  • Date: Thu, 16 Apr 2009 20:33:34 +0800
  • Accept-language: en-US
  • Acceptlanguage: en-US
  • Delivery-date: Thu, 16 Apr 2009 05:35:01 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: Acm+j47r8W6HvIyAQV26sZ57M7N0Hw==
  • Thread-topic: [Xen-devel][PATCH] don't split the whole large page while live migration with EPT

Before, when HVM guest live migration with EPT, we just write protect all the EPT leaf entries.

Then we know the dirty pages through ept_handle_violation(), and call p2m_change_type()

to put back the write access of the EPT entries. At that time when we use large pages,

we used to split the large page to 4K.

Its not necessary. Alternatively, we can just retain the large page entries,

and put back the write access and mark dirty all the small pages in the large page.

 

The patch attached removes the splitting.

 

Signed-off-by: Xin, Xiaohui <Xiaohui.xin@xxxxxxxxx>

 

 

 

Attachment: logdirty.diff
Description: logdirty.diff

_______________________________________________
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®.