Subject: Re: [PATCH] arm64/mm: Rename ptdesc_t

From: Mike Rapoport <[email-masked]>
Date: Thu, 30 Apr 2026 09:51:46 +0200

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) <[email-masked]>
 
> Cc: Catalin Marinas <[email-masked]>
> Cc: Will Deacon <[email-masked]>
> Cc: David Hildenbrand <[email-masked]>
> Cc: Mike Rapoport <[email-masked]>
> Cc: [email-masked]
> Cc: [email-masked]
> Cc: [email-masked]
> Acked-by: David Hildenbrand (Arm) <[email-masked]>
> Suggested-by: David Hildenbrand (Arm) <[email-masked]>
> Signed-off-by: Anshuman Khandual <[email-masked]>
> ---
> 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.