Happy NY all, thanks for the review! I haven't contributed an
x86-specific mm patch before so am not sure of the process - usually I
submit patches to the mm mailing list and Andrew gathers them up into
his tree, is there anything else I need to do with this?
Thanks, Lorenzo
On 12/15/20 12:56 PM, Lorenzo Stoakes wrote:
> +#ifndef CONFIG_X86_5LEVEL
> +#define INIT_PGD_PAGE_TABLES3
> +#else
> +#define INIT_PGD_PAGE_TABLES4
> +#endif
> +
> #ifndef CONFIG_RANDOMIZE_MEMORY
> -#define INIT_PGD_PAGE_COUNT 6
> +#define INIT_PGD_PAGE_COUNT (2 * INIT_PGD_PAGE_
On Tue, Dec 15, 2020 at 08:56:41PM +, Lorenzo Stoakes wrote:
> pgt_buf is used to allocate page tables on initial direct page mapping
> bootstrapping us into being able to allocate these before the direct
> mapping makes further pages available.
>
> INIT_PGD_PAGE_COUNT is set to 6 pages (doubl
pgt_buf is used to allocate page tables on initial direct page mapping
bootstrapping us into being able to allocate these before the direct
mapping makes further pages available.
INIT_PGD_PAGE_COUNT is set to 6 pages (doubled for KASLR) - 3 (PUD, PMD,
PTE) for the 1 MiB ISA mapping and 3 more for
4 matches
Mail list logo