lkml.org 
[lkml]   [2020]   [Dec]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] x86/mm: increase pgt_buf size for 5-level page tables
From
Date
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@intel.com>

\
 
 \ /
  Last update: 2020-12-16 19:06    [W:0.062 / U:0.508 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site