Re: [Fastboot] [PATCH] Reserving backup region for kexec based crashdumps.

From: Itsuro Oda
Date: Thu Feb 03 2005 - 19:26:40 EST


Hi,

On 02 Feb 2005 07:45:11 -0700
ebiederm@xxxxxxxxxxxx (Eric W. Biederman) wrote:

>
> And the feedback begins :)
>
> Itsuro Oda <oda@xxxxxxxxxxxxx> writes:
>
> > Hi,
> >
> > I don't like calling crash_kexec() directly in (ex.) panic().
> > It should be call_dump_hook() (or something like this).
> >
> > I think the necessary modifications of the kernel is only:
> > - insert the hooks that calls a dump function when crash occur
> crash_kexec()
> > - binding interface that binds a dump function to the hook
> > (like register_dump_hook())
> sys_kexec_load(...);

For example there are pepole who want to execute a built in kernel
debugger when the system is crashed. or there are pepole who
believe the diskdump is the best dump tool :-)

So I think a sort of hook is better than calling crash_kexec
directly. (May I make a patch ?)

Thanks.
--
Itsuro ODA <oda@xxxxxxxxxxxxx>

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