aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/domain_build.c
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2009-12-22 18:35:34 +0000
committerKeir Fraser <keir.fraser@citrix.com>2009-12-22 18:35:34 +0000
commite3300fe7e9cc5d6395f744b1ee450bbb09c9410c (patch)
tree23752ef216c306d3ad0db5337f8a9a42e6382e88 /xen/arch/x86/domain_build.c
parent4d45702cf0398fda384ba980729032315548919b (diff)
downloadxen-e3300fe7e9cc5d6395f744b1ee450bbb09c9410c.tar.gz
xen-e3300fe7e9cc5d6395f744b1ee450bbb09c9410c.tar.bz2
xen-e3300fe7e9cc5d6395f744b1ee450bbb09c9410c.zip
Replace process_pending_timers() with process_pending_softirqs().
This ensures that any critical softirqs are handled in a timely manner (e.g., TIME_CALIBRATE_SOFTIRQ) while still avoiding being preempted by the scheduler (by SCHEDULE_SOFTIRQ), which is the reason for avoiding use of do_softirq() directly. Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'xen/arch/x86/domain_build.c')
-rw-r--r--xen/arch/x86/domain_build.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/xen/arch/x86/domain_build.c b/xen/arch/x86/domain_build.c
index c4b4a66921..8f69aab2a9 100644
--- a/xen/arch/x86/domain_build.c
+++ b/xen/arch/x86/domain_build.c
@@ -924,7 +924,7 @@ int __init construct_dom0(
((unsigned int *)vphysmap_start)[pfn] = mfn;
set_gpfn_from_mfn(mfn, pfn);
if (!(pfn & 0xfffff))
- process_pending_timers();
+ process_pending_softirqs();
}
si->first_p2m_pfn = pfn;
si->nr_p2m_frames = d->tot_pages - count;
@@ -945,7 +945,7 @@ int __init construct_dom0(
++alloc_epfn;
#endif
if (!(pfn & 0xfffff))
- process_pending_timers();
+ process_pending_softirqs();
}
}
BUG_ON(pfn != d->tot_pages);
@@ -967,7 +967,7 @@ int __init construct_dom0(
#undef pfn
page++; pfn++;
if (!(pfn & 0xfffff))
- process_pending_timers();
+ process_pending_softirqs();
}
}