Re: [PATCH] softirq softlockup debugging

From: Ingo Molnar
Date: Tue Jun 24 2008 - 08:07:01 EST



* Vegard Nossum <vegard.nossum@xxxxxxxxx> wrote:

> Hi,
>
> I'm debugging a problem with a softirq that gets stuck for a long
> time, so I wrote this patch to help find out what's going wrong.
>
> I actually think it can be useful in general as well, see for example
> http://www.kerneloops.org/search.php?search=__do_softirq&btnG=Function+Search
>
> ..and these cases are virtually impossible to debug since we don't
> know anything about *what* it was that got stuck. (The NMI watchdog
> could help, though.)
>
> The patch is #ifdef-ugly, I know... Suggestions are welcome.

i've applied it to tip/core/softlockup to give it some testing. (It
needed a manual merge due to changes pending in that topic already)

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