Re: [PATCH] dump_stack on panic

From: Andi Kleen
Date: Wed Oct 31 2007 - 07:53:22 EST



I suspect most of the panics you cited are unnecessary and should
be revisited anyways. Linux should be far beyond the "we left out error
handling and put in panic instead" philosophy of classical Unix now
and those are mostly just some left overs. But that's a different issue.

> IMHO I believe we should do the dump_stack now, and come up with another
> solution to the mount root panic.

You mean never. You want the change, you do it please properly the first
time. Doing stack dumps on no root or machine check is utterly wrong.

It is bad enough we always get them on OOM events where they are also
mostly pointless.

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