aboutsummaryrefslogtreecommitdiffstats
path: root/xen/common/page_alloc.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/common/page_alloc.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/common/page_alloc.c')
-rw-r--r--xen/common/page_alloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/common/page_alloc.c b/xen/common/page_alloc.c
index 19a7bd24d1..7139c3d39b 100644
--- a/xen/common/page_alloc.c
+++ b/xen/common/page_alloc.c
@@ -893,7 +893,7 @@ void __init scrub_heap_pages(void)
for ( mfn = first_valid_mfn; mfn < max_page; mfn++ )
{
- process_pending_timers();
+ process_pending_softirqs();
pg = mfn_to_page(mfn);