Displaying 2 results from an estimated 2 matches for "steal_for_cache".
2012 Jun 08
18
[PATCH 0 of 4 RFC] Populate-on-demand: Check pages being returned by the balloon driver
Populate-on-demand: Check pages being returned by the balloon driver
This patch series is the second result of my work last summer on
decreasing fragmentation of superpages in a guests'' p2m when using
populate-on-demand.
This patch series is against 4.1; I''m posting it to get feedback on
the viability of getting a ported version of this patch into 4.2.
As with the previous
2011 Sep 23
2
Some problems about xenpaging
..., take care of the paging type
--- ./origin/xen/arch/x86/mm/p2m.c 2011-09-05 20:39:30.000000000 +0800
+++ ./b/xen/arch/x86/mm/p2m.c 2011-09-23 23:46:19.000000000 +0800
@@ -675,6 +675,23 @@
BUG_ON(p2md->pod.entry_count < 0);
pod--;
}
+ else if ( steal_for_cache && p2m_is_paging(t) )
+ {
+ struct page_info *page;
+ /* alloc a new page to compensate the pod list */
+ page = alloc_domheap_page(d, 0);
+ if ( unlikely(page == NULL) )
+ {
+ goto out_entry_check;
+ }...