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][PATCH] patch to support super page (2M) with EPT

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel][PATCH] patch to support super page (2M) with EPT
From: "Xin, Xiaohui" <xiaohui.xin@xxxxxxxxx>
Date: Fri, 9 May 2008 17:10:40 +0800
Delivery-date: Fri, 09 May 2008 02:11:13 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcixtI2cNu+RrX7tTVSjV8PSHh1HuQ==
Thread-topic: [Xen-devel][PATCH] patch to support super page (2M) with EPT

Attached are the patches to support super page with EPT. We only support 2M size. And shadow may still work fine with 4K pages.

The patches can be split into 3 parts. Apply order is as attached.

 

tool.diff

To allocate 2M physical contiguous memory in guest except the first 2M and the last 2M.

The first 2M covers special memory, and Xen use the last few pages in guest memory to do special things.

We let them to be 4K pages as normal.

super_page_common.patch

To modify the p2m interfaces by adding an order parameter, such as guest_physmap_add_page(), p2m_set_entry(), etc.

p2m-ept-file.patch

            To handle the EPT tables to support super page.           

 

 

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

Signed-off-by: Li Xin, B <xin.b.li@xxxxxxxxx>

 

 

 

Attachment: tool.diff
Description: tool.diff

Attachment: super_page_common.patch
Description: super_page_common.patch

Attachment: p2m-ept-file.patch
Description: p2m-ept-file.patch

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