[RFC V1 06/16] arm64/mm: Convert READ_ONCE() as pudp_get() while accessing PUD

Anshuman Khandual anshuman.khandual at arm.com
Thu Apr 9 21:50:40 PDT 2026



On 08/04/26 5:45 PM, David Hildenbrand (Arm) wrote:
> On 2/24/26 06:11, Anshuman Khandual wrote:
>> Convert all READ_ONCE() based PUD accesses as pudp_get() instead which will
>> support both D64 and D128 translation regime going forward.
>>
>> Cc: Catalin Marinas <catalin.marinas at arm.com>
>> Cc: Will Deacon <will at kernel.org>
>> Cc: Ryan Roberts <ryan.roberts at arm.com>
>> Cc: Mark Rutland <mark.rutland at arm.com>
>> Cc: linux-arm-kernel at lists.infradead.org
>> Cc: linux-kernel at vger.kernel.org
>> Cc: kasan-dev at googlegroups.com
>> Signed-off-by: Anshuman Khandual <anshuman.khandual at arm.com>
>> ---
> 
> I was wondering for a second whether it would be better to structure
> this as "convert READ_ONCE to use pxxxp_get() in fault.c" instead,
> essentially, to touch each file only once.

But will not that create too many patches ?

> 
> Anyhow
> 
> Reviewed-by: David Hildenbrand (Arm) <david at kernel.org>
> 

Thanks !




More information about the linux-arm-kernel mailing list