~/talk

Reliable Userspace Spinlock

links:none on file
slides:none on file

Proposes using an extended rseq structure to record a thread’s rseq sched state so userspace can tell if a lock holder is actually running, spin only when the owner is running, and fall back to a futex slow path when the owner is not. Provides an RFC and a prototype implemented as an rsac mutex self-test that visibly spins and sleeps; requires glibc/rseq support, cache-structure tuning and broader benchmarks on x86/ARM before merging. Claims aim: avoid costly context switches for very short critical sections.

AI-written summary · about

  1. 0:00Spinlocks and user-space challenges
  2. 3:37Mutexes with short critical sections
  3. 5:25Basic user-space spinlock
  4. 8:16Key challenges of spinlocks
  5. 9:21Restartable sequences foundation
  6. 14:45Extending sequences for spinlocks
  7. 17:57Userspace spinlock mechanism
  8. 19:26Testing and benchmarking
  9. 20:18Q&A: CPU retrieval and RCU
  10. 24:08Q&A: Virtualization and contention
  11. 26:11Q&A: Spinlock use cases
  12. 28:05Summary and closing
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.