Messages in this thread | | | Date | Tue, 1 Feb 2022 02:44:37 +0300 | From | "Kirill A. Shutemov" <> | Subject | Re: [PATCHv3 2/7] efi/x86: Get full memory map in allocate_e820() |
| |
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
| |