From ed7e33747da83ce805c00cd457e71075e34f0854 Mon Sep 17 00:00:00 2001 From: Lan Tianyu Date: Fri, 7 Oct 2016 11:35:26 +0200 Subject: [PATCH] timer: process softirq during dumping timer info Dumping timer info may run for a long time on the huge machine with a lot of physical cpus. To avoid triggering NMI watchdog, add process_pending_softirqs() in the loop of dumping timer info. Signed-off-by: Lan Tianyu Reviewed-by: Konrad Rzeszutek Wilk --- xen/common/timer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/xen/common/timer.c b/xen/common/timer.c index 29a60a901c..ab6bca0fc2 100644 --- a/xen/common/timer.c +++ b/xen/common/timer.c @@ -530,6 +530,7 @@ static void dump_timerq(unsigned char key) { ts = &per_cpu(timers, i); + process_pending_softirqs(); printk("CPU%02d:\n", i); spin_lock_irqsave(&ts->lock, flags); for ( j = 1; j <= GET_HEAP_SIZE(ts->heap); j++ ) -- 2.39.5