]> xenbits.xensource.com Git - people/royger/xen.git/commitdiff
timer: process softirq during dumping timer info
authorLan Tianyu <tianyu.lan@intel.com>
Fri, 7 Oct 2016 09:35:26 +0000 (11:35 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 7 Oct 2016 09:35:26 +0000 (11:35 +0200)
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 <tianyu.lan@intel.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
xen/common/timer.c

index 29a60a901c5378a4fc554761e47378bc4c39e612..ab6bca0fc259501a46c4cdde41222d6833759c5d 100644 (file)
@@ -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++ )