Re: [PATCH] x86/efi: Do not release sub-1MB memory regions when the crashkernel option is specified

From: Baoquan He
Date: Sun Apr 11 2021 - 21:14:04 EST


On 04/09/21 at 07:59pm, H. Peter Anvin wrote:
> Why don't we do this unconditionally? At the very best we gain half a megabyte of memory (except the trampoline, which has to live there, but it is only a few kilobytes.)

This is a great suggestion, thanks. I think we can fix it in this way to
make code simpler. Then the specific caring of real mode in
efi_free_boot_services() can be removed too.

Thanks
Baoquan