Messages in this thread | | | Date | Wed, 4 May 2022 13:04:36 +0200 | From | Borislav Petkov <> | Subject | Re: [PATCHv5 07/12] x86/mm: Reserve unaccepted memory bitmap |
| |
On Mon, Apr 25, 2022 at 06:39:29AM +0300, Kirill A. Shutemov wrote: > A given page of memory can only be accepted once. The kernel has a need
s/has a need to/has to/
> to accept memory both in the early decompression stage and during normal > runtime. > > A bitmap used to communicate the acceptance state of each page between the ^ is
> decompression stage and normal runtime. > > boot_params is used to communicate location of the bitmap through out
throughout
> the boot. The bitmap is allocated and initially populated in EFI stub. > Decompression stage accepts pages required for kernel/initrd and mark
marks
> these pages accordingly in the bitmap. The main kernel picks up the > bitmap from the same boot_params and uses it to determinate what has to
determine
> be accepted on allocation. > > In the runtime kernel, reserve the bitmap's memory to ensure nothing > overwrites it. > > The size of bitmap is determinated with e820__end_of_ram_pfn() which
Unknown word [determinated] in commit message. Suggestions: ['determinate', 'determined', 'terminated', 'determinant']
-- Regards/Gruss, Boris.
https://people.kernel.org/tglx/notes-about-netiquette
| |