Re: [PATCH v2] vdso: Remove struct getcpu_cache

From: H. Peter Anvin

Date: Mon Oct 13 2025 - 17:10:30 EST


On 2025-10-13 13:32, Andy Lutomirski wrote:
>
> The global timestamp would just be some field in the vvar area, which
> we have plenty of anyway.
>
> But I agree, accelerating getcpu is pointless. In any case, anything
> that historically thought it really really wanted accelerated getcpu
> can, and probably does, use rseq these days.
>

Indeed. And with RDPID it is fast enough that the bulk of the cost is probably
in the vdso call.

-hpa