From: "Huang2, Wei" <Wei.Huang2@amd.com>
To: Keir Fraser <keir.fraser@eu.citrix.com>,
"Xin, Xiaohui" <xiaohui.xin@intel.com>,
xen-devel@lists.xensource.com
Subject: RE: [PATCH] patch to support super page (2M) with EPT
Date: Mon, 12 May 2008 07:14:02 -0500 [thread overview]
Message-ID: <8b6101c8b429$a44c31ea$b424b5a3@amd.com> (raw)
I will re-submit another one today.
-----Original Message-----
From: Keir Fraser <keir.fraser@eu.citrix.com>
Sent: Monday, May 12, 2008 2:03 AM
To: Xin, Xiaohui <xiaohui.xin@intel.com>; Huang2, Wei <Wei.Huang2@amd.com>; xen-devel@lists.xensource.com <xen-devel@lists.xensource.com>
Subject: Re: [Xen-devel][PATCH] patch to support super page (2M) with EPT
Yes, absolutely no need for 4M page support. We do not support the 32-bit non-PAE build target any more.
-- Keir
On 12/5/08 06:04, "Xin, Xiaohui" <xiaohui.xin@intel.com> wrote:
Some comments here:
1) Basically 4M pages allocations is not hardware naturally for EPT, we only use 2M super pages now.
I remembered that Keir said that 2M pages allocation is sufficient, and he removed all the pure 32bit support already.
2) If we dont allocate the last 2M area with 4kb pages, the EPT will meet some problem. Xen will set one of the 4k page
there to be invalid, logically that means we should invalid the all the 2M page if we allocate it with 2M, and then the
special pages Xen used in the high end of the guest memory can not be used then. May we know how you cope with that?
Thanks
Xiaohui
________________________________
From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of Huang2, Wei
Sent: Monday, May 12, 2008 12:36 PM
To: Xin, Xiaohui; xen-devel@lists.xensource.com
Subject: RE: [Xen-devel][PATCH] patch to support super page (2M) with EPT
This is the latest one I created. Please review it and I will re-submit.
1. It includes the patch for p2m-ept.c, directly from your previous patch.
2. Xc_hvm_create.c is based on my original approach. It includes support for both 2MB and 4MB pages. Also it considers the case of odd page size (such as 255MB). But I did not allocate the last 2MB area using 4KB pages. Let me know if it is a big issue.
3. The rest are pretty similar.
Thanks,
-Wei
From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of Huang2, Wei
Sent: Sunday, May 11, 2008 3:34 PM
To: Xin, Xiaohui; xen-devel@lists.xensource.com
Subject: RE: [Xen-devel][PATCH] patch to support super page (2M) with EPT
Could we work together for a common solution? As far as I can see, it largely overlaps with my super page patch. The major difference is between p2m.c and p2m-ept.c.
-Wei
From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of Xin, Xiaohui
Sent: Friday, May 09, 2008 4:11 AM
To: xen-devel@lists.xensource.com
Subject: [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@intel.com>
Signed-off-by: Li Xin, B <xin.b.li@intel.com>
________________________________
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
next reply other threads:[~2008-05-12 12:14 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-12 12:14 Huang2, Wei [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-05-09 9:10 [PATCH] patch to support super page (2M) with EPT Xin, Xiaohui
2008-05-11 20:33 ` Huang2, Wei
2008-05-12 4:36 ` Huang2, Wei
2008-05-12 5:04 ` Xin, Xiaohui
2008-05-12 7:03 ` Keir Fraser
2008-05-12 17:28 ` Huang2, Wei
2008-05-13 8:46 ` Keir Fraser
2008-05-13 13:36 ` Huang2, Wei
2008-05-13 13:39 ` Li, Xin B
2008-05-13 13:51 ` Keir Fraser
2008-05-13 15:49 ` Huang2, Wei
2008-05-14 8:40 ` Keir Fraser
2008-05-14 21:22 ` Huang2, Wei
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='8b6101c8b429$a44c31ea$b424b5a3@amd.com' \
--to=wei.huang2@amd.com \
--cc=keir.fraser@eu.citrix.com \
--cc=xen-devel@lists.xensource.com \
--cc=xiaohui.xin@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.