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

Peter Zijlstra
2026-02-24T08:48:16Z

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.