Re: [patch] serial console vs NMI watchdog

Keith Owens
2001-03-11T07:53:13Z

On Sun, 11 Mar 2001 08:44:24 +0100 (CET),
Ingo Molnar <mingo@elte.hu> wrote:
>Andrew,
>
>your patch looks too complex, and doesnt cover the case of the serial
>driver deadlocking. Why not add a "touch_nmi_watchdog_counter()" function
>that just changes last_irq_sums instead of adding locking? This way
>deadlocks will be caught in the serial code too. (because touch_nmi() will
>only "postpone" the NMI watchdog lockup event, not disable it.)

kdb has to completely disable the nmi counter while it is in control.
All interrupts are disabled, all but one cpus are spinning, the control
cpu does busy wait while it polls the input devices. With that model
there is no alternative to a complete disable.