mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
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 <tianyu.lan@intel.com> Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
This commit is contained in:
1 parent
9f5eff08a6
commit
ed7e33747d
1 file changed
+1
@@ -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++ )
|
||||
|
||||