Re: [PATCH 2/2] x86 e820: Introduce memmap=resetusablemap for kdump usage

From: Yinghai Lu
Date: Tue Jan 22 2013 - 15:06:34 EST


On Tue, Jan 22, 2013 at 8:32 AM, H. Peter Anvin <hpa@xxxxxxxxx> wrote:
>> Again: Please explain what is bad with this solution.
>> I cannot see a better and more robust way for kdump other than
>> reserving the original reserved memory areas as declared by the BIOS.
>
> It is bad because it creates more complexity than is needed.
>
> The whole point is that what we want is simply to switch type 1 to type
> X, with the sole exceptions being the areas explicitly reserved for the
> kdump kernel.

Do you prefer to "reserveram" way in attached patch?

Thanks

Yinghai

Attachment: e820_reserveram.patch
Description: Binary data