Re: [PATCH 3/3] Limit E820 map when a user-defined memory map is specified

From: Yinghai Lu
Date: Sun Jun 22 2008 - 16:11:48 EST


On Sun, Jun 22, 2008 at 12:56 PM, Bernhard Walle <bwalle@xxxxxxx> wrote:
> * "Yinghai Lu" <yhlu.kernel@xxxxxxxxx> [2008-06-20 13:34]:
>>
>> any problem that you encountered without this patch?
>
> Sorry, forgot to answer that question.
>
> Yes, if you use mem=3G and take a dump, kexec builds the ELF core
> headers for the full memory size, which means that the dump is as large
> as the physical memory of the machine is, which doesn't make sense.

can we use e820_update_range instead? so e820_setup_gap still can get
correct value?

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