Adaptive Userspace Spinlocks with RSEQ - Implementing Efficient Locks in Linux
Linux Plumbers Conference via YouTube
Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the challenges and proposed solutions for implementing efficient spinlocks in userspace Linux in this 17-minute conference talk from the Linux Plumbers Conference. Delve into the main obstacle preventing efficient userspace spinlocks: the absence of an ABI that provides a simple, low-overhead method to verify if the current lock holder is running. Learn about a novel approach using restartable sequences infrastructure to expose thread state to userspace without requiring system calls. Gain insights into the problem's background and understand the potential impact of this solution on userspace spinlock implementation in Linux systems.
Syllabus
60 Adaptive userspace spinlocks with rseq - André Almeida, Mathieu Desnoyers
Taught by
Linux Plumbers Conference