[lkml]   [2007]   [Oct]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    Subject[PATCH -rt] remove in_interrupt() BUG_ON in exit path
    As you can see from the patch there is already a case to catch this type
    of problem. This BUG_ON() adds a resursive OOPS , since BUG() causes an OOPS
    and the OOPS just calls do_exit() , and do_exit() just causes another OOPS with
    this BUG_ON().. If we call panic() here then it's clear what the problem was,
    instead of causing an endless recursive crash.

    Signed-off-by: Daniel Walker <>

    kernel/exit.c | 1 -
    1 file changed, 1 deletion(-)

    Index: linux-
    --- linux-
    +++ linux-
    @@ -895,7 +895,6 @@ fastcall NORET_TYPE void do_exit(long co


    - BUG_ON(in_interrupt());
    if (unlikely(in_interrupt()))
    panic("Aiee, killing interrupt handler!");
    if (unlikely(!tsk->pid))
    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: 2007-10-30 23:45    [W:0.021 / U:19.588 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site