Reliable Userspace Spinlock
Historically, it wasn’t possible to implement reliable userspace spinlocks in
Linux. That means that spin locks would be counterproductive, competing with
the lock holder for CPU time or spinning when the holder is sleeping. The only
trustworthy approach for now is to use sleepable mutexes, that requires a whole
context switch. Several different approaches have been tried in the past to
improve the situation. This talk will give an overview of a new approach for
safe and useful userspace spinlocks using futex with extended information.
(c) Open Source Summit Europe 2023
September 19-21, 2023
Bilbao, Spain
https://events.linuxfoundation.org/open-source-summit-europe/
by Igalia
linux foundation