Re: IKD SOFTLOCKUP problem

From: Mike Galbraith (mikeg@weiden.de)
Date: Fri Feb 04 2000 - 15:19:47 EST

  • Next message: Stephen C. Tweedie: "Re: kernel read/write question"

    On Fri, 4 Feb 2000, Tony E. Bennett wrote:

    >
    > I'm using ikd-2.2.12-ikd7.bz2 on a 2.2.12 kernel compiled SMP.
    > DEBUG_SOFTLOCKUP sounded useful for a problem I was seeing, so
    > I turned it on. However it seems to Oops eventually for any
    > busy or long-lived task.

    Hi,

    A small (but important) bit is missing in the 2.2.12 patches.
    This is the hunk taken from the 2.2.14 patch.

            -Mike

    diff -urN 2.2.14/kernel/sched.c 2.2.14-ikd/kernel/sched.c
    --- 2.2.14/kernel/sched.c Wed Jan 5 14:16:56 2000
    +++ 2.2.14-ikd/kernel/sched.c Sun Jan 5 06:23:34 2048
    @@ -824,6 +830,9 @@
             __schedule_tail(prev);
     
     same_process:
    +#ifdef CONFIG_DEBUG_SOFTLOCKUP
    + prev->deadlock_count=CONFIG_SOFTLOCKUP_THRESHOLD;
    +#endif
       
             reacquire_kernel_lock(current);
             return;

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu
    Please read the FAQ at http://www.tux.org/lkml/



    This archive was generated by hypermail 2b29 : Fri Feb 04 2000 - 15:34:52 EST