[lkml]   [2002]   [Nov]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [RFC] hangcheck-timer module
    On Thu, Nov 21, 2002 at 03:31:04PM -0500, Brian Gerst wrote:
    > Joel Becker wrote:
    > > Attached is a module, hangcheck-timer. It is used to detect
    > >when the system goes out to lunch for a period of time, such as when a
    > >driver like qla2x00 udelays a bunch.
    > There is already an NMI watchdog that is better than what you propose,
    > because it will also catch cases where something gets stuck with
    > interrupts disabled.

    The issue at hand is not permanent hangs. The issue is hangs
    that return. Consider a clustering enviornment where the other nodes
    have given up on the delayed node and clean up after it. When the hang
    finally ends, the node still thinks it is "alive" and happily scribbles
    to places it shouldn't.
    udelay will not ever trigger the NMI watchdog, as it is running
    on the processor, so the cpu timer will run happily. But as far as
    everything higher up (kernel + userspace), the delay will be unnoticed
    and bad things can happen.



    "I'm so tired of being tired,
    Sure as night will follow day.
    Most things I worry about
    Never happen anyway."

    Joel Becker
    Senior Member of Technical Staff
    Oracle Corporation
    Phone: (650) 506-8127
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:31    [W:0.022 / U:52.156 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site