Re: [PATCH] mm: Replace READ_ONCE() with standard page table accessors
From: Dev Jain
Date: Tue Oct 07 2025 - 05:53:30 EST
On 07/10/25 1:24 pm, Anshuman Khandual wrote:
On 07/10/25 12:41 PM, Dev Jain wrote:
On 07/10/25 12:01 pm, Anshuman Khandual wrote:That's how the callbacks have been designed to be overridden when required.
Replace all READ_ONCE() with a standard page table accessors i.e pxdp_get()Does any platform override into something else currently? The way you write
that defaults into READ_ONCE() in cases where platform does not override.
the description implies that.
What I mean is, if currently some arch is overriding into something else,
this patch will be a functional change. So it is beneficial to say
in the description that the patch is a safeguard for when the platform
chooses to override, and no functional change is intended.
Reviewed-by: Dev Jain <dev.jain@xxxxxxx>