|
|
|
|
|
|
|
|
|
|
xen-ia64-devel
[Xen-ia64-devel] [patch] don't scrub pages when on SN2 simulator
Hi,
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.
Cheers,
Jes
# HG changeset patch
# User jes@xxxxxxxxxxxxxxxx
# Date 1179910599 -7200
# Node ID 9858f0f884ff3f28415cf2f03630d6a4082248f7
# Parent 7cb47b607563bb356dad2a2fb1555bc261076f94
Don't scrub pages when running on Medusa
Signed-off-by: Jes Sorensen <jes@xxxxxxx>
diff -r 7cb47b607563 -r 9858f0f884ff xen/arch/ia64/xen/xensetup.c
--- a/xen/arch/ia64/xen/xensetup.c Tue May 22 17:16:55 2007 +0200
+++ b/xen/arch/ia64/xen/xensetup.c Wed May 23 10:56:39 2007 +0200
@@ -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;
@@ -532,7 +533,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-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-ia64-devel] [patch] don't scrub pages when on SN2 simulator,
Jes Sorensen <=
|
|
|
|
|