Messages in this thread | | | Date | Fri, 04 Feb 2005 09:23:47 +0900 | From | Itsuro Oda <> | Subject | Re: [Fastboot] [PATCH] Reserving backup region for kexec based crashdumps. |
| |
Hi,
On 02 Feb 2005 07:45:11 -0700 ebiederm@xmission.com (Eric W. Biederman) wrote:
> > And the feedback begins :) > > Itsuro Oda <oda@valinux.co.jp> 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@valinux.co.jp>
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |