From: Julien Grall Date: Fri, 10 Jan 2014 03:27:55 +0000 (+0000) Subject: xen/arm: Scrub heap pages during boot X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~5674 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ca6bf20d4157b3b0b270e384e47c1e351964be16;p=xen.git xen/arm: Scrub heap pages during boot Scrub heap pages was disabled because it was slow on the models. Now that Xen supports real hardware, it's possible to enable by default scrubbing. Signed-off-by: Julien Grall Acked-by: Ian Campbell --- diff --git a/xen/arch/arm/setup.c b/xen/arch/arm/setup.c index 840b04b6c3..9480f42cac 100644 --- a/xen/arch/arm/setup.c +++ b/xen/arch/arm/setup.c @@ -764,10 +764,8 @@ void __init start_xen(unsigned long boot_phys_offset, if ( construct_dom0(dom0) != 0) panic("Could not set up DOM0 guest OS"); - /* Scrub RAM that is still free and so may go to an unprivileged domain. - XXX too slow in simulator - scrub_heap_pages(); - */ + /* Scrub RAM that is still free and so may go to an unprivileged domain. */ + scrub_heap_pages(); init_constructors();