Re: Confusions with reserve_early, reserve_bootmem, e820, efi, ...on x86_64

From: H. Peter Anvin
Date: Thu Jun 12 2008 - 17:09:58 EST


Yinghai Lu wrote:

please check that commit that increase the range to 1M.
it seems at that time, andi and peter had different idea, because
increase 1M could waste K bytes memory.

also wonder if EFI is there, we still need to ebda?


You're not actually suggesting we should throw away this memory, are you? Reserving it all early is fine, but the memory unused should eventually be reclaimed.

It's probably safer to reserve the EBDA even with EFI; it's only a page or so so it doesn't matter much.

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