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

Re: [Xen-devel] Re: [Linux PATCH] Make hugepages work in current git tree



On 04/29/2010 02:43 PM, Dave McCracken wrote:
> On Thursday 29 April 2010, Jeremy Fitzhardinge wrote:
>   
>> Looks reasonable.  I rewrote the commit comment:
>>
>> Subject: [PATCH] x86/hugetlb: use set_pmd for huge pte operations
>>
>> On x86, a huge pte is logically a pte, but structurally a pmd.  Among
>> other issues, pmds and ptes overload some flags for multiple uses (PAT
>> vs PSE), so it is necessary to know which structural level a pagetable
>> entry is in order interpret it properly.
>>
>> When huge pages are used within a paravirtualized system, it is therefore
>> appropriate to use the pmd set of function to operate on them, so that
>> the hypervisor can correctly validate the update.
>>
>> Signed-off-by: Dave McCracken <dave.mccracken@xxxxxxxxxx>
>> Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@xxxxxxxxxx>
>>
>> Does this look correct?
>>     
> Yes, that's an excellent summary of the issue.  Thank you.
>   

Have you tested this patch on native as well as under Xen?

    J

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