[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170928082138.ayuwbf6jhy6yyqu4@gmail.com>
Date: Thu, 28 Sep 2017 10:21:38 +0200
From: Ingo Molnar <mingo@...nel.org>
To: "Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>
Cc: Ingo Molnar <mingo@...hat.com>,
Linus Torvalds <torvalds@...ux-foundation.org>, x86@...nel.org,
Thomas Gleixner <tglx@...utronix.de>,
"H. Peter Anvin" <hpa@...or.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Andy Lutomirski <luto@...capital.net>,
Cyrill Gorcunov <gorcunov@...nvz.org>,
Borislav Petkov <bp@...e.de>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCHv7 08/19] x86/mm: Make PGDIR_SHIFT and PTRS_PER_P4D
variable
* Kirill A. Shutemov <kirill.shutemov@...ux.intel.com> wrote:
> #define P4D_SHIFT 39
> -#define PTRS_PER_P4D 512
> +#define __PTRS_PER_P4D 512
> +#define PTRS_PER_P4D ptrs_per_p4d
> #define P4D_SIZE (_AC(1, UL) << P4D_SHIFT)
> #define P4D_MASK (~(P4D_SIZE - 1))
PTRS_PER_P4D_MAX would be a better name than random underscores ...
Thanks,
Ingo
Powered by blists - more mailing lists