Re: [PATCH] kdump: x86_64 add crashdump trigger points

From: Andi Kleen
Date: Mon Apr 10 2006 - 22:45:42 EST


On Mon, Apr 10, 2006 at 06:05:11PM -0400, Vivek Goyal wrote:
>
>
> o Start booting into the capture kernel after an Oops if system is in a
> unrecoverable state. System will boot into the capture kernel, if one is
> pre-loaded by the user, and capture the kernel core dump.
>
> o One of the following conditions should be true to trigger the booting of
> capture kernel.
> - panic_on_oops is set.
> - pid of current thread is 0
> - pid of current thread is 1
> - Oops happened inside interrupt context.

I would rather put it into die(). Then the patch will be much smaller
too.

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