Re: [PATCHv5 05/12] efi/x86: Implement support for unaccepted memory

Kirill A. Shutemov
2022-05-02T13:39:00Z

On Fri, Apr 29, 2022 at 12:53:30PM +0200, Borislav Petkov wrote:
> > + /*
> > + * If unaccepted memory is present allocate a bitmap to track what
> > + * memory has to be accepted before access.
> > + *
> > + * One bit in the bitmap represents 2MiB in the address space:
> > + * A 4k bitmap can track 64GiB of physical address space.
> > + *
> > + * In the worst case scenario -- a huge hole in the middle of the
> > + * address space -- It needs 256MiB to handle 4PiB of the address
> > + * space.
> > + *
> > + * TODO: handle situation if params->unaccepted_memory has already set.
>
> "... is already set."
>
> And when is that TODO taken care of? Later patch or patchset?

No, not yet. kexec is not a priority at the moment. It will come later.

--
Kirill A. Shutemov