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

[Xen-devel] [PATCH][UPDATED] 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/online action is protected by heap_lock, but we need make sure 
other code will not clean the flags, this is achieved by next patch to be sent.

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