[RFC V1 04/16] perf/events: Replace READ_ONCE() with standard pgtable accessors

Peter Zijlstra peterz at infradead.org
Tue Feb 24 00:48:04 PST 2026


On Tue, Feb 24, 2026 at 10:41:41AM +0530, Anshuman Khandual wrote:
> Replace READ_ONCE() with standard page table accessors i.e pxdp_get() which
> anyways default into READ_ONCE() in cases where platform do not override.

This is a bit silly, no? All of them should always be READ_ONCE(), with
the exception of pte_get() on PAE like scenarios.



More information about the linux-arm-kernel mailing list