[PATCH v2] vdso: Remove struct getcpu_cache

H. Peter Anvin hpa at zytor.com
Mon Oct 13 14:09:31 PDT 2025


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




More information about the linux-um mailing list