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

Amerigo Wang
2009-08-06T07:43:36Z

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!