Re: [PATCHv13 5/9] efi: Add unaccepted memory support

From: Borislav Petkov
Date: Tue Jun 06 2023 - 08:30:12 EST


On Tue, Jun 06, 2023 at 03:19:24PM +0300, Kirill A. Shutemov wrote:
> Does it look okay to you?
>
> /*
> * accept_memory() -- Consult bitmap and accept the memory if needed.
> *
> * Only memory that explicitly marked as unaccepted in the bitmap requires

... that is ...

> * an action.

And let's add an additional sentence stating it all clearly:

"All the remaining memory is implicitly accepted and doesn't need acceptance."

> *
> * No need to accept:
> * - anything if the system has no unaccepted table;
> * - memory that is below phys_base;
> * - memory that is above the memory that addressable by the bitmap;

And this is an additional clarification.

Good, thanks.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette