Nov 13 – 15, 2023
America/New_York timezone

Adaptive userspace spinlocks with rseq

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

"James River Salon B"

Omni Richmond Hotel

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

Speakers

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

Description

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.

RFC: https://lore.kernel.org/lkml/20230529191416.53955-1-mathieu.desnoyers@efficios.com/

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