Re: [PATCH v5 5/6] x86, acpi, crash, kdump: Do reserve_crashkernel()after SRAT is parsed

From: Zhang Yanfei
Date: Thu Sep 26 2013 - 11:46:33 EST


On 09/26/2013 10:49 PM, Tejun Heo wrote:
> On Wed, Sep 25, 2013 at 02:34:34AM +0800, Zhang Yanfei wrote:
>> From: Tang Chen <tangchen@xxxxxxxxxxxxxx>
>>
>> Memory reserved for crashkernel could be large. So we should not allocate
>> this memory bottom up from the end of kernel image.
>>
>> When SRAT is parsed, we will be able to know whihc memory is hotpluggable,
>> and we can avoid allocating this memory for the kernel. So reorder
>> reserve_crashkernel() after SRAT is parsed.
>>
>> Acked-by: Tejun Heo <tj@xxxxxxxxxx>
>
> So, I was hoping to hear from you on how you tested it when I wrote
> the previous comment - the "provided..." part.
>

This function is actually used for kexec/kdump. So After applying
this patch, booting the kernel, this reservation is successful and
the kdump service starts successfully.

Thanks.

--
Thanks.
Zhang Yanfei
--
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/