[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <13deefab-de94-4e68-67f8-e03f99bcb115@intel.com>
Date: Wed, 16 Dec 2020 10:04:16 -0800
From: Dave Hansen <dave.hansen@...el.com>
To: Lorenzo Stoakes <lstoakes@...il.com>,
Dave Hansen <dave.hansen@...ux.intel.com>,
Andy Lutomirski <luto@...nel.org>,
Peter Zijlstra <peterz@...radead.org>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>, Borislav Petkov <bp@...en8.de>,
x86@...nel.org, "H . Peter Anvin" <hpa@...or.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH] x86/mm: increase pgt_buf size for 5-level page tables
On 12/15/20 12:56 PM, Lorenzo Stoakes wrote:
> +#ifndef CONFIG_X86_5LEVEL
> +#define INIT_PGD_PAGE_TABLES 3
> +#else
> +#define INIT_PGD_PAGE_TABLES 4
> +#endif
> +
> #ifndef CONFIG_RANDOMIZE_MEMORY
> -#define INIT_PGD_PAGE_COUNT 6
> +#define INIT_PGD_PAGE_COUNT (2 * INIT_PGD_PAGE_TABLES)
> #else
> -#define INIT_PGD_PAGE_COUNT 12
> +#define INIT_PGD_PAGE_COUNT (4 * INIT_PGD_PAGE_TABLES)
> #endif
> +
Lorenzo, thanks for the patch. That was a very nice changelog, and it
all seems sane to me, especially with Kirill's ack.
Acked-by: Dave Hansen <dave.hansen@...el.com>
Powered by blists - more mailing lists