Nov 13 – 15, 2023
America/New_York timezone

Adaptive userspace spinlocks with rseq

Nov 13, 2023, 11:45 AM
"James River Salon B" (Omni Richmond Hotel)

"James River Salon B"

Omni Richmond Hotel

Real-time and Scheduling MC Real-time and Scheduling MC


André Almeida (Igalia) Mathieu Desnoyers (EfficiOS Inc.)


Implementing efficient spinlocks in userspace is not possible yet in Linux, even after years of different approaches and proposed solutions.The main gap to achieve it is the lack of ABI providing an easy and low-overhead way to check if the current lock holder is running or not.

In this session, we are going to present the problem, and to propose a solution for it using the restartable sequences infrastructure as means to expose the thread state to userspace in a cheap way, without requiring system calls.


Primary authors

André Almeida (Igalia) Mathieu Desnoyers (EfficiOS Inc.)

Presentation materials

Diamond Sponsors

Platinum Sponsor
Gold Sponsors

Silver Sponsors

Catchbox Sponsor
Livestream Sponsors

T-Shirt Sponsor
Conference Services Provided by