Re: [RFC PATCH 1/2] rseq: extend struct rseq with numa node id

From: Peter Zijlstra
Date: Tue Feb 01 2022 - 06:09:02 EST


On Mon, Jan 31, 2022 at 10:19:09PM +0100, Florian Weimer wrote:
> It can be used to implement getcpu purely in userspace, too. I had
> plan to hack this together with a node ID cache in TLS, which should
> offer pretty much the same functionality (except for weird CPU
> topology changes which alter the node ID of a previously used CPU).

PowerPC does that quite a lot..