~/talk

External locking for internally synchronized data structures

links:none on file
slides:none on file

Proposes a Rust API for XArray that lets an external lock token permit the XArray to momentarily drop locks to perform allocations, avoiding C-only tricks like reservation API or holding outer spinlocks. Demonstrates a prototype (Rust userland XArray toy, patches for entry array and allocation buffer on the mailing list), explains races that force entry API retry paths when an insert drops and re-acquires locks, and compares pre-allocation vs slab-based pooling; prototype works but has ergonomic and correctness tradeoffs.

AI-written summary · about

  1. 0:00Introduction and context
  2. 2:47Problems with external locking
  3. 7:26Pre-allocation and slab allocator
  4. 11:59Potential solutions and trade-offs
  5. 14:45Future work and compaction
  6. 16:58Finding locks for nodes
  7. 18:00Rust safety and mutex concerns
  8. 19:03Conclusion and Q&A
~/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.