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

[Xen-changelog] [xen-unstable] [IA64] Don't scrub pages when on SN2 simulator



# HG changeset patch
# User Alex Williamson <alex.williamson@xxxxxx>
# Date 1180038019 21600
# Node ID 90f19b7667f755f3fda2132c490854baca70f33c
# Parent  466f71b1e8319927dca16bd16b05faa09fad0cdd
[IA64] Don't scrub pages when on SN2 simulator

Small patch to not call scrub_heap_pages() when running on Medusa.
Can't use the running_on_sim flag for this as that flag impacts too
many other things that make it fail for us.

Signed-off-by: Jes Sorensen <jes@xxxxxxx>
---
 xen/arch/ia64/xen/xensetup.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)

diff -r 466f71b1e831 -r 90f19b7667f7 xen/arch/ia64/xen/xensetup.c
--- a/xen/arch/ia64/xen/xensetup.c      Thu May 24 14:16:28 2007 -0600
+++ b/xen/arch/ia64/xen/xensetup.c      Thu May 24 14:20:19 2007 -0600
@@ -29,6 +29,7 @@
 #include <xen/softirq.h>
 #include <xen/rcupdate.h>
 #include <acm/acm_hooks.h>
+#include <asm/sn/simulator.h>
 
 unsigned long xenheap_phys_end, total_pages;
 
@@ -553,7 +554,7 @@ printk("num_online_cpus=%d, max_cpus=%d\
                        0) != 0)
         panic("Could not set up DOM0 guest OS\n");
 
-    if (!running_on_sim)  // slow on ski and pages are pre-initialized to zero
+    if (!running_on_sim && !IS_MEDUSA())  // slow on ski and pages are 
pre-initialized to zero
        scrub_heap_pages();
 
     init_trace_bufs();

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.