Re: [patch] add kdump_after_notifier

From: Bernhard Walle
Date: Thu Jul 26 2007 - 10:07:19 EST


* Takenori Nagano <t-nagano@xxxxxxxxxxxxx> [2007-07-19 14:15]:
>
> In latest kernel, we can't use panic_notifier_list if kdump is enabled.
> panic_notifier_list is very useful function for debug, failover, etc...
>
> So this patch adds a control file /proc/sys/kernel/dump_after_notifier
> and resolves a problem users can not use both kdump and panic_notifier_list
> at the same time.
>
> kdump_after_notifier = 0
> -> panic()
> -> crash_kexec(NULL)
>
> kdump_after_notifier = 1
> -> panic()
> -> atomic_notifier_call_chain(&panic_notifier_list, 0, buf);
> -> crash_kexec(NULL)

What's problematic about this patch? I also would like to see that
feature.


Thanks,
Bernhard
-
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/