[PATCH] arm64/mm: Rename ptdesc_t

Anshuman Khandual anshuman.khandual at arm.com
Tue May 19 19:08:50 PDT 2026



On 19/05/26 4:32 PM, David Hildenbrand (Arm) wrote:
> On 5/19/26 12:44, Will Deacon wrote:
>> On Thu, Apr 30, 2026 at 09:51:46AM +0200, Mike Rapoport wrote:
>>> 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"?
>>
>> Yeah, the 'pxx' prefix really hurts my eyes. Please use something else!
> 
> Fine with me as long as we don't call it something with "pte" in it.
> 

Seems like there are two choices here

(A) pxdval_t
(B) ptval_t which Mike had suggested earlier

Unless there is a preference will probably go with pxdval_t



More information about the linux-arm-kernel mailing list