linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dave Hansen <dave.hansen@intel.com>
To: Lorenzo Stoakes <lstoakes@gmail.com>,
	Dave Hansen <dave.hansen@linux.intel.com>,
	Andy Lutomirski <luto@kernel.org>,
	Peter Zijlstra <peterz@infradead.org>,
	Thomas Gleixner <tglx@linutronix.de>,
	Ingo Molnar <mingo@redhat.com>, Borislav Petkov <bp@alien8.de>,
	x86@kernel.org, "H . Peter Anvin" <hpa@zytor.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] x86/mm: increase pgt_buf size for 5-level page tables
Date: Wed, 16 Dec 2020 10:04:16 -0800	[thread overview]
Message-ID: <13deefab-de94-4e68-67f8-e03f99bcb115@intel.com> (raw)
In-Reply-To: <20201215205641.34096-1-lstoakes@gmail.com>

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>

  parent reply	other threads:[~2020-12-16 18:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-15 20:56 Lorenzo Stoakes
2020-12-16 10:56 ` Kirill A. Shutemov
2020-12-16 18:04 ` Dave Hansen [this message]
2021-01-04 14:52   ` Lorenzo Stoakes
2021-01-04 18:29 ` [tip: x86/mm] x86/mm: Increase " tip-bot2 for Lorenzo Stoakes

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=13deefab-de94-4e68-67f8-e03f99bcb115@intel.com \
    --to=dave.hansen@intel.com \
    --cc=bp@alien8.de \
    --cc=dave.hansen@linux.intel.com \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lstoakes@gmail.com \
    --cc=luto@kernel.org \
    --cc=mingo@redhat.com \
    --cc=peterz@infradead.org \
    --cc=tglx@linutronix.de \
    --cc=x86@kernel.org \
    --subject='Re: [PATCH] x86/mm: increase pgt_buf size for 5-level page tables' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).