Re: [PATCH v4 00/20] mm: change behavior of pXdp_get()/pXd_page() in compile-time folded pgtable
From: David Hildenbrand (Arm)
Date: Tue Dec 01 2026 - 12:51:13 EST
On 12/1/26 18:07, Yeoreum Yun wrote:
> Using ptep_get() and its counterparts in common code is suboptimal on
> kernel configurations with generic compile-time folded page tables.
> By default, ptep_get() and its friends expand to READ_ONCE(),
> forcing the compiler to emit a load even when the value is not used afterwards.
>
> This issue was recently reported by Christophe Leroy [1] for ppc32
> preventing further code conversion to ptep_get()/pmdp_get()/... helper
> and the same behavior can also be observed on arm64 when built with
> 2- or 3-level page tables
I just sent out Sashiko stuff. You sent out v4 just before the embargo ended,
should have checked there.
--
Cheers,
David