Re: [PATCH] x86, kdump: Set crashkernel_low automatically

From: H. Peter Anvin
Date: Mon Mar 11 2013 - 15:58:20 EST


On 03/11/2013 12:20 PM, Vivek Goyal wrote:
>
> I find it odd that if a user wants to load a 32bit kernel or use 32bit
> entry point then he needs to first reboot the kernel and re-reserve
> the memory.
>
> At installation time, one does not necessarily know what kind of kernel
> will be used for crashdump. So reserving as high as possible limits
> the choices.
>
> I would rather prefer that user opt in for higher addresses instead of
> these being reserved by default.
>

Quite frankly the whole design seems to be held together with chewing
gum. At the core, the problem is a tight coupling between kexec-tools
version, kexec-tools options, and kernel command line options that have
to be combined in very ugly ways. Part of the reason is that the kernel
isn't actually given the information it needs to do the job required.

As far as "if a user wants to load"... why on Earth should that be the
default? How could that *not* be an exceptional case?

-hpa


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