[PATCH v3 04/10] mm/x86: Replace pgd_large() with pgd_leaf()
Jason Gunthorpe
jgg at nvidia.com
Wed Mar 6 03:05:38 AEDT 2024
On Tue, Mar 05, 2024 at 12:37:44PM +0800, peterx at redhat.com wrote:
> From: Peter Xu <peterx at redhat.com>
>
> pgd_leaf() is a global API while pgd_large() is not. Always use
> the global pgd_leaf(), then drop pgd_large().
>
> Cc: Thomas Gleixner <tglx at linutronix.de>
> Cc: Ingo Molnar <mingo at redhat.com>
> Cc: Borislav Petkov <bp at alien8.de>
> Cc: Dave Hansen <dave.hansen at linux.intel.com>
> Cc: x86 at kernel.org
> Signed-off-by: Peter Xu <peterx at redhat.com>
> ---
> arch/x86/include/asm/pgtable.h | 4 ++--
> arch/x86/mm/pti.c | 2 +-
> 2 files changed, 3 insertions(+), 3 deletions(-)
Reviewed-by: Jason Gunthorpe <jgg at nvidia.com>
Jason
More information about the Linuxppc-dev
mailing list