Re: [RFC PATCH v4 00/25] RSEQ node id and virtual cpu id extensions

From: Peter Zijlstra
Date: Thu Sep 22 2022 - 04:10:23 EST


On Wed, Sep 21, 2022 at 03:54:18PM -0400, Mathieu Desnoyers wrote:
> On 2022-09-21 15:24, Mathieu Desnoyers wrote:
> > Extend the rseq ABI to expose a NUMA node ID and a vm_vcpu_id field.
> >
> > The NUMA node ID field allows implementing a faster getcpu(2) in libc.
> >
> > The virtual cpu id allows ideal scaling (down or up) of user-space
> > per-cpu data structures. The virtual cpu ids allocated within a memory
> > space are tracked by the scheduler, which takes into account the number
> > of concurrently running threads, thus implicitly considering the number
> > of threads, the cpu affinity, the cpusets applying to those threads, and
> > the number of logical cores on the system.
> >
> > This series is based on the v5.19 tag.
>
> Hi Peter,
>
> I'm having MTA issues at the moment. I will resend the series as soon as I
> can get hold of my sysadmin.

It landed in my inbox and Lore seems to have received a copy too; as
per:

https://lkml.kernel.org/r/14ba275f-8ddc-33fc-2669-1c336436f473@xxxxxxxxxxxx

So I'm thinking you did manage to send out mail and all is well.

I'll try and have a look later today.