Re: [PATCH] arm64/mm: Rename ptdesc_t

From: Mike Rapoport

Date: Thu Apr 30 2026 - 03:52:00 EST


Hi Anshuman,

On Thu, Apr 30, 2026 at 04:49:33AM +0100, Anshuman Khandual wrote:
> ptdesc_t sounds very similar to the core MM struct ptdesc which is actually
> the memory descriptor for page table allocations. Hence rename this typedef
> element as pxxval_t instead for better clarity and separation.

Maybe we should keep the "pt" prefix and make it "ptval_t"?
No really strong feelings, so

Acked-by: Mike Rapoport (Microsoft) <rppt@xxxxxxxxxx>

> Cc: Catalin Marinas <catalin.marinas@xxxxxxx>
> Cc: Will Deacon <will@xxxxxxxxxx>
> Cc: David Hildenbrand <david@xxxxxxxxxx>
> Cc: Mike Rapoport <rppt@xxxxxxxxxx>
> Cc: linux-efi@xxxxxxxxxxxxxxx
> Cc: linux-kernel@xxxxxxxxxxxxxxx
> Cc: linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
> Acked-by: David Hildenbrand (Arm) <david@xxxxxxxxxx>
> Suggested-by: David Hildenbrand (Arm) <david@xxxxxxxxxx>
> Signed-off-by: Anshuman Khandual <anshuman.khandual@xxxxxxx>
> ---
> This patch applies on v7.1-rc1
>
> Took the liberty in including David's tag from an internal discussion.
>
> arch/arm64/include/asm/io.h | 2 +-
> arch/arm64/include/asm/pgtable-types.h | 14 +++++++-------
> arch/arm64/include/asm/ptdump.h | 8 ++++----
> arch/arm64/include/asm/tlbflush.h | 4 ++--
> arch/arm64/kernel/efi.c | 4 ++--
> arch/arm64/kernel/pi/map_kernel.c | 2 +-
> arch/arm64/kernel/pi/map_range.c | 4 ++--
> arch/arm64/kernel/pi/pi.h | 2 +-
> arch/arm64/mm/mmap.c | 4 ++--
> arch/arm64/mm/pageattr.c | 2 +-
> arch/arm64/mm/ptdump.c | 2 +-
> 11 files changed, 24 insertions(+), 24 deletions(-)

--
Sincerely yours,
Mike.