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

[Xen-devel] [PATCH] Page offline support in Xen side



This patch add support to offline a page. The basical idea is, when a page is 
assigned, it will be marked offline pending and be moved out of buddy when 
freed, when a page is free, it will be moved out of buddy directly.

One notice after this change is, now the page->count_info is not always 0, 
especially for shadow page, since the PGC_offlining bit may be set.

Signed-off-by: Wang, Shane <shane.wang@xxxxxxxxx>
Signed-off-by: Jiang, Yunhong <yunhong.jiang@xxxxxxxxx>

The offline_page() can be called from both HV context (like MCA handler as 
discussed in mailing list), or from dom0's user space tools, like for proactive 
action. To invoke from user space tools, we need swap the page so that the page 
is really offlined, that patch is still on way.

Thanks
Yunhong Jiang

Attachment: page_offline_xen.patch
Description: page_offline_xen.patch

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