Re: scheduling while atomic & hang.

From: Linus Torvalds
Date: Fri Jul 05 2013 - 15:28:22 EST


On Thu, Jul 4, 2013 at 11:51 PM, Ingo Molnar <mingo@xxxxxxxxxx> wrote:
>
> It would be nice to have a full-kernel-stack backtrace printout as an
> option, which prints entries 'above' the current RSP.

One problem with that is that it is likely to be mostly overwritten by
the debug code that is about to print this all out - and any non-debug
code may well be really old, just with a sufficiently deep stack trace
to show up. Not to mention missing any irq-stack changes etc anyway.

So it can easily be *very* misleading - I'm not sure how useful it
would be as an idea.

Linus
--
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/