lkcd
[Top] [All Lists]

Re: LKCD + KDB ?

To: "'lkcd@xxxxxxxxxxx'" <lkcd@xxxxxxxxxxx>
Subject: Re: LKCD + KDB ?
From: Keith Owens <kaos@xxxxxxxxxx>
Date: Thu, 13 Sep 2001 16:49:52 +1000
In-reply-to: Your message of "Wed, 12 Sep 2001 23:25:19 MST." <3BA0514F.C18C3BBC@xxxxxxxxxxxxxx>
Sender: owner-lkcd@xxxxxxxxxxx
On Wed, 12 Sep 2001 23:25:19 -0700, 
"Matt D. Robinson" <yakker@xxxxxxxxxxxxxx> wrote:
>bsuparna@xxxxxxxxxx wrote:
>> 1. If we spin the other cpu's with interrupts disabled, then we need to
>> make sure that the NMI watchdog timer doesn't report lockups (given that
>
>Can this be as simple as dump_in_progress, or something more complex?

Andrew Morton has code in the -AC tree which is a generic fix for the
problem of the NMI watchdog tripping on long events.  kdb uses it in
the -AC tree.

    if (*f == NULL) {
            /* Reset NMI watchdog once per poll loop */
            touch_nmi_watchdog();
            f = &poll_funcs[0];
    }

There is no equivalent in Linus's tree, you have to hack the NMI
handler yourself :(.  Time to push Andrew Morton and AC to get the NMI
changes into Linus's tree.


<Prev in Thread] Current Thread [Next in Thread>