Re: [PATCH 2/2] x86, e820 disable ACPI Memory Hotplug if memory mappingis specified by user [v2]

From: Prarit Bhargava
Date: Sun Jan 12 2014 - 18:47:44 EST




On 01/11/2014 11:35 AM, 7eggert@xxxxxx wrote:
>
>
> On Fri, 10 Jan 2014, Prarit Bhargava wrote:
>
>> kdump uses memmap=exactmap and mem=X values to configure the memory
>> mapping for the kdump kernel. If memory is hotadded during the boot of
>> the kdump kernel it is possible that the page tables for the new memory
>> cause the kdump kernel to run out of memory.
>>
>> Since the user has specified a specific mapping ACPI Memory Hotplug should be
>> disabled in this case.
>
> I'll ask just in case: Is it possible to want memory hotplug in spite of
> using memmap=exactmap or mem=X?

Good question -- I can't think of a case. When a user specifies "memmap" or
"mem" IMO they are asking for a very specific memory configuration. Having
extra memory added above what the user has specified seems to defeat the purpose
of "memmap" and "mem".

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