From: Lan Tianyu Date: Fri, 7 Oct 2016 09:35:26 +0000 (+0200) Subject: timer: process softirq during dumping timer info X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~197 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ed7e33747da83ce805c00cd457e71075e34f0854;p=xen.git 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 --- 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++ )