Re: [PATCH] mm: Replace READ_ONCE() with standard page table accessors

From: Lance Yang

Date: Thu Oct 09 2025 - 07:36:43 EST


On Tue, Oct 7, 2025 at 2:31 PM Anshuman Khandual
<anshuman.khandual@xxxxxxx> wrote:
>
> Replace all READ_ONCE() with a standard page table accessors i.e pxdp_get()
> that defaults into READ_ONCE() in cases where platform does not override.
>
> Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
> Cc: David Hildenbrand <david@xxxxxxxxxx>
> Cc: linux-mm@xxxxxxxxx
> Cc: linux-kernel@xxxxxxxxxxxxxxx
> Signed-off-by: Anshuman Khandual <anshuman.khandual@xxxxxxx>
> ---

LGTM. I still assume it is a no-op change :)

Reviewed-by: Lance Yang <lance.yang@xxxxxxxxx>