Re: [patch] serial console vs NMI watchdog

Andrew Morton
2001-03-11T08:16:35Z

Keith Owens wrote:
>
> On Sun, 11 Mar 2001 08:53:40 +0100 (CET),
> Ingo Molnar <mingo@elte.hu> wrote:
> >it sure has an alternative. The 'cpus spinning' code calls touch_nmi()
> >within the busy loop, the polling code on the control CPU too. This is
> >sure more robust and catches lockup bugs in kdb too ...
>
> Works for me. It even makes kdb simpler.

humm...

OK, this seems doable in the case of serial console.
For CONFIG_LP_CONSOLE (which has the same problem) it
looks like we can just call touch_nmi() in lp_console_write().

I'll see what Tim has to say.

-