Messages in this thread | ![/](/images/icornerl.gif) | | Date | Wed, 17 May 2023 14:36:50 -0400 | From | Steven Rostedt <> | Subject | Re: [RFC PATCH 0/4] Extend rseq with sched_state field |
| |
On Wed, 17 May 2023 11:26:50 -0400 Mathieu Desnoyers <mathieu.desnoyers@efficios.com> wrote:
> This prototype extends struct rseq with a new sched_state field, which > contains a "on-cpu" flag kept up-to-date by the scheduler. > > It is meant to be used by userspace adaptative mutexes to decide between > busy-wait and futex wait system call (releasing the CPU) behaviors based > on the current state of the mutex owner.
Woot!
I'm so glad I talked Jon into hanging around for André's spurious talk. He's the one that brought up rseq (as he mentioned in his article), and I guess you read that :-)
Unfortunately, I'm in the process of a lot of trips and meetings/presentations over the next few weeks, and I will not be able to look into this. But I hope that André could test it out.
Cheers!
-- Steve
| ![\](/images/icornerr.gif) |