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

From: Yinghai Lu
Date: Mon Mar 11 2013 - 15:44:23 EST


On Mon, Mar 11, 2013 at 12:39 PM, Yinghai Lu <yinghai@xxxxxxxxxx> wrote:
> On Mon, Mar 11, 2013 at 12:38 PM, Vivek Goyal <vgoyal@xxxxxxxxxx> wrote:
>>> No need to use crashkernel_high, we can just cashkernel=X@Y instead.
>>
>> crashkernel=X@Y is little different. It assumes user knows the memory
>> map and location "Y" is fixed. There might not be any memory at "Y".
>
> then use crashkernel=4G?

I re attached -v2 and -v3.

I'm ok that any one is applied or two get applied all together.

only affect 64bit
-v2: try under under 896M, then 4G, then MAXMEM
-v3: auto set crashkernel_low with swiotlb size.

Thanks

Yinghai

Attachment: fix_crashkernel_low_v2.patch
Description: Binary data

Attachment: fix_crashkernel_low_v3.patch
Description: Binary data