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

Re: [Xen-devel] [PATCH] p2m: Allow non-leaf entries to be replaced by leaf entries



At 15:37 +0000 on 21 Jan (1295624275), George Dunlap wrote:
> p2m: Allow non-leaf entries to be replaced by leaf entries
> 
> Allow l2 and l3 p2m tables to be replaced with 2MB and 1GB pages
> respectively, freeing the p2m table page properly.  This allows, for example,
> a sequence of 512 singleton zero pages to be replaced with a superpage
> populate-on-demand entry.
> 
> Changes:
> * Add a p2m_free_ptp() corresponding to p2m_alloc_ptp(), which will
> handle everything related to the freeing properly.
> * Add p2m_free_entry(), based on ept_free_entry(), which will free
> intermediate tables recursively.
> * For both ept and p2m, when replacing non-leaf entries with leaf
> entries, keep old entry and call *_free_entry() after new entry
> has been written and proper flushes have been done.
> 
> Signed-off-by: George Dunlap <george.dunlap@xxxxxxxxxxxxx>

Applied, thanks.  (I made a few small changes to help the debug=y build.)

Tim.

-- 
Tim Deegan <Tim.Deegan@xxxxxxxxxx>
Principal Software Engineer, Xen Platform Team
Citrix Systems UK Ltd.  (Company #02937203, SL9 0BG)

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