]> xenbits.xensource.com Git - xen.git/commitdiff
[IA64] Trigger memory scrub
authorAlex Williamson <alex.williamson@hp.com>
Fri, 30 Mar 2007 16:25:16 +0000 (10:25 -0600)
committerAlex Williamson <alex.williamson@hp.com>
Fri, 30 Mar 2007 16:25:16 +0000 (10:25 -0600)
Continuous domain creation can sometimes fail by running out of
scrubbed pages.  Trigger it similar to x86.

Signed-off-by: Zhang xiantao <xiantao.zhang@intel.com>
xen/arch/ia64/xen/domain.c

index ba58064151a4c3f65e537520cf84043cad22be91..1310cfaef09c2f3a17d76d4cfe95d7785bfb0bfa 100644 (file)
@@ -336,6 +336,7 @@ static void continue_cpu_idle_loop(void)
 #else
            irq_stat[cpu].idle_timestamp = jiffies;
 #endif
+           page_scrub_schedule_work();
            while ( !softirq_pending(smp_processor_id()) )
                default_idle();
            raise_softirq(SCHEDULE_SOFTIRQ);