[PATCH v6] kernel, add panic_on_warn

Vivek Goyal vgoyal at redhat.com
Mon Nov 3 07:21:16 PST 2014


On Mon, Nov 03, 2014 at 09:32:23AM -0500, Prarit Bhargava wrote:

[..]
> +
> +static int __init panic_on_warn_setup(char *s)
> +{
> +	/* Enabling this on a kdump kernel could cause a bogus panic. */
> +	if (!is_kdump_kernel())
> +		panic_on_warn = 1;

I think it would be better if we leave it to user space to remove
panic_on_warn from command line of second kernel.

Thanks
Vivek



More information about the kexec mailing list