Re: [PATCH v2 5/7] mm/treewide: Replace pmd_large() with pmd_leaf()

2024-03-04 Thread Jason Gunthorpe
On Thu, Feb 29, 2024 at 04:42:56PM +0800, pet...@redhat.com wrote: > From: Peter Xu > > pmd_large() is always defined as pmd_leaf(). Merge their usages. Chose > pmd_leaf() because pmd_leaf() is a global API, while pmd_large() is not. > > Signed-off-by: Peter Xu > --- > arch/arm/mm/dump.c

[PATCH v2 5/7] mm/treewide: Replace pmd_large() with pmd_leaf()

2024-02-29 Thread peterx
From: Peter Xu pmd_large() is always defined as pmd_leaf(). Merge their usages. Chose pmd_leaf() because pmd_leaf() is a global API, while pmd_large() is not. Signed-off-by: Peter Xu --- arch/arm/mm/dump.c | 4 ++-- arch/powerpc/mm/book3s64/pgtable.c | 2 +- arc