Re: [PATCH] Info dump on Oops or panic()

Andrew Morton
2007-06-29T02:02:19Z

On Fri, 29 Jun 2007 02:39:33 +0200 (CEST) Jiri Kosina <jikos@jikos.cz> wrote:

> On Thu, 28 Jun 2007, Joshua Wise wrote:
>
> > This patch adds a call chain to be invoked when the system oopses or
> > panics.
>
> That seems really fragile, processing a callchain when the system goes to
> panic is not guaranteed to work. Wouldn't simple function call have higher
> chances of survival?

That was my complaint, but then we remembered die_chain, which is already
doing that.

Joshua will take a look at using die_chain instead of adding another one.