[RFC V1 05/16] arm64/mm: Convert READ_ONCE() as pmdp_get() while accessing PMD

Anshuman Khandual anshuman.khandual at arm.com
Thu Apr 9 21:48:01 PDT 2026



On 08/04/26 5:41 PM, David Hildenbrand (Arm) wrote:
> On 2/24/26 06:11, Anshuman Khandual wrote:
>> Convert all READ_ONCE() based PMD accesses as pmdp_get() instead which will
>> support both D64 and D128 translation regime going forward.
> 
> You should mention the move from pmdp_test_and_clear_young(), and why it
> is performed.

Sure will do that. Actually there as a build problem while accessing
pmdp_get() from pmdp_test_and_clear_young() while being inside the
header which necessitated this move.

> 
> Nothing else jumped at me :)
> 




More information about the linux-arm-kernel mailing list