xen/arm: Scrub heap pages during boot
authorJulien Grall <julien.grall@linaro.org>
Fri, 10 Jan 2014 03:27:55 +0000 (03:27 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Fri, 10 Jan 2014 16:55:33 +0000 (16:55 +0000)
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 <julien.grall@linaro.org>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/arm/setup.c

index 840b04b6c358fbd570107ce4a7d35171030263fd..9480f42cac6640bba224042d1af9aac6fc179383 100644 (file)
@@ -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();