On Mon, Jan 31, 2022 at 02:38:42PM -0800, Dave Hansen wrote: > On 1/28/22 12:59, Kirill A. Shutemov wrote: > > Modify allocate_e820() to get a full memory map. > > Dumb question time: why doesn't the current code get a full memory map? > This looks simpler. What's the downside? Memory consumption? Yeah, it requires memory allocation that has to be freed back. Otherwise I don't see any downsides. There are several more EFI calls, but it should not make a noticable difference on boot time. -- Kirill A. Shutemov