[PATCH v2] kernel/sysrq: reset watchdog on all CPUs while processing sysrq-w

2016-06-09 Thread Andrey Ryabinin
Lengthy output of sysrq-w may take a lot of time on slow serial console. Currently we reset NMI-watchdog on the current CPU to avoid spurious lockup messages. Sometimes this doesn't work since softlockup watchdog might trigger on another CPU which is waiting for an IPI to proceed. We reset

[PATCH v2] kernel/sysrq: reset watchdog on all CPUs while processing sysrq-w

2016-06-09 Thread Andrey Ryabinin
Lengthy output of sysrq-w may take a lot of time on slow serial console. Currently we reset NMI-watchdog on the current CPU to avoid spurious lockup messages. Sometimes this doesn't work since softlockup watchdog might trigger on another CPU which is waiting for an IPI to proceed. We reset