Re: NMI watchdog dump does not print on hard lockup
From: Linus Torvalds
Date: Fri Oct 13 2017 - 15:12:36 EST
On Fri, Oct 13, 2017 at 6:18 AM, Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
>
> Or add the following case: The watchdog triggers, does the print, then
> if it triggers again in a certain amount of time, and the print still
> hasn't been flushed, the flush happens then.
By the time 40 sec has passed, I suspect most people have just
rebooted the machine.
I think an NMI watchdog should just force the flush - the same way an
oops should. Deadlocks aren't really relevant if something doesn't get
printed out anyway.
Linus