Overview
Explore the challenges and solutions surrounding reliable userspace spinlocks in Linux in this 29-minute conference talk by André Almeida from Igalia. Gain insights into the historical limitations of implementing dependable spinlocks in userspace, understanding why they were often counterproductive and competed with lock holders for CPU time. Discover the current best practice of using sleepable mutexes and the associated context switch overhead. Delve into various past attempts to enhance userspace spinlock performance and reliability. Learn about a novel approach that leverages futex with extended information to create safe and efficient userspace spinlocks, potentially revolutionizing concurrent programming in Linux environments.
Syllabus
Reliable Userspace Spinlock - André Almeida, Igalia
Taught by
Linux Foundation