lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
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