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

From
Kirill A. Shutemov <hidden>
Date
2023-06-06 12:19:34
Also in
linux-efi, lkml
Reply to
Borislav Petkov, 2023-06-05
On Mon, Jun 05, 2023 at 09:12:25PM +0200, Borislav Petkov wrote:
So how about you explain that explicitly somewhere, perhaps in a comment
above accept_memory(), that the unaccepted range is not the whole memory
but only, well, what is unaccepted and the rest is implicitly accepted?
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
 * an action.
 *
 * 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;
 */

-- 
  Kiryl Shutsemau / Kirill A. Shutemov
Thread (31 messages) 31 messages, 6 authors, last reply 2023-06-06
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help