Re: [RFC V1 08/16] arm64/mm: Convert READ_ONCE() as pgdp_get() while accessing PGD

From: David Hildenbrand (Arm)

Date: Wed Apr 08 2026 - 08:19:39 EST


On 2/24/26 06:11, Anshuman Khandual wrote:
> Convert all READ_ONCE() based PGD accesses as pgdp_get() instead which will
> support both D64 and D128 translation regime going forward.

Please mention here why you move p4d_offset_phys/p4d_offset. (same
applies to other patches)

Do we get additional function calls that might degrade some page table
walkers?

Same comment regarding BUG_ON.

--
Cheers,

David