Re: [Patch 1/7] x86: add CONFIG_KEXEC_AUTO_RESERVE

From: Amerigo Wang
Date: Thu Aug 06 2009 - 03:43:44 EST


Andi Kleen wrote:
More useful would seem a crashkernel=size@auto
We already have this, just use "crashkernel=size@0". :)

When it's already there then I don't see the point of the feature at all.

Hardcoding the size doesn't really make any sense to me, especially
a suspicious one like 128MB.

Hi, Andi,

The point here is the size, hmm... I just got an idea, how about reserving the same memory of the size of kernel itself? For example, if the kernel itself is 3M, we reserved 8M ( x2 and then rounded to 2^n) for the kexec kernel?

Any comments?

Thanks!

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