scrub_pages in balloon
PATCH 1/1 scrub_pages in balloon
This patch makes balloon driver only scrubs page when CONFIG_XEN_SCRUB_PAGES enabled.
Signed-off-by Nguyen Anh Quynh <[email protected]>
$ diffstat scrub.patch balloon.c | 2 ++ 1 files changed, 2 insertions(+)
linux-2.6-xen-sparse/drivers/xen/balloon/balloon.c +2 -0
@@ -244,7 +244,9 @@if ( !PageHighMem (page) ) { v =phys_to_virt (pfn <<PAGE_SHIFT ); +#ifdef CONFIG_XEN_SCRUB_PAGES scrub_pages (v,1 ); +#endif HYPERVISOR_update_va_mapping ( (unsigned long )v,__pte_ma (0 ),0 ); }
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Quoted 2 lines · aq
This patch makes balloon driver only scrubs page when
CONFIG_XEN_SCRUB_PAGESenabled.
Not required. The macro already is conditional.
-- Keir