[RFC v2 PATCH 0/16] Optimize this_cpu_*() ops for non-x86 (ARM64 for this series)
Jason Gunthorpe
jgg at nvidia.com
Tue Aug 4 07:40:54 PDT 2026
On Tue, Aug 04, 2026 at 03:21:14PM +0100, Lorenzo Stoakes (ARM) wrote:
> On Tue, Aug 04, 2026 at 03:15:03PM +0100, Lorenzo Stoakes (ARM) wrote:
> > Since this work seems to be very much arm64-focused, perhaps it's therefore
> > worth looking at an alterative solution that's specific to the arch, like the
> > one suggested by Mark ([1])?
>
> Oh I hadn't realised Mark had already posted the series here:
>
> https://lore.kernel.org/all/20260728123859.2911495-1-mark.rutland@arm.com/
It is a really neat approach for CPUs that lack the x86 like load from
computed ea trick and should solve the original request.
That said there is still a merit for things like replicating .text, and
I think we will also have some multi-socket systems that would benefit
from this too..
So, I think the question you ask: if we should ever consider divergent
per-cpu kernel page tables - is still interesting..
Jason
More information about the linux-arm-kernel
mailing list