Re: [patch] add kdump_after_notifier

From: Vivek Goyal
Date: Thu Jul 26 2007 - 11:54:47 EST


On Thu, Jul 26, 2007 at 05:47:18PM +0200, Bernhard Walle wrote:
> * Vivek Goyal <vgoyal@xxxxxxxxxx> [2007-07-26 17:44]:
> > >
> > > Of course, but that's why the patch doesn't change this by default but
> > > gives the user the choice.
> > >
> >
> > What value will distro set it to by default?
>
> 0.
>
> > Can we be more specific in terms of functionality and code that exactly
> > what we are trying to do after panic?
>
> Well, KDB, but now everybody answers with ânot mainline -- doesn't
> countâ.
>

That's true. Its not mainline. We had similar discussion in the past
also. I think we should allow only audited code to be run after panic().
Leaving it open to modules or unaudited code makes this solution
something like LKCD where whole lot of code used to run after the crash,
hence was unreliable.

If KDB goes mainline, then I think it is not a bad idea to call debugger
first (if it is enabled) and then one can trigger crash dump from inside
the debugger.

Thanks
Vivek
-
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/