~/talk

A (Simple) Hazard Pointer Update

links:none on file
links:none on file
slides:none on file

A variant called simple hazard pointers (shazptr) offers an intuitive API that uses a shared per-CPU hazard pointer slot and a wildcard mechanism to avoid allocating slots before use. Shazptr claims lower updater wait times and smaller memory footprint than RCU, and applying it to lockdep dynamic key unregistration yields ~20x speed-up while avoiding IPIs. Microbenchmarks show better updater latency with reasonable reader overhead; the implementation uses a per-CPU slot plus a scanner thread and relies on preemption/interrupt-disabled regions, producing occasional long tail latency in worst-case scans.

AI-written summary · about

  1. 0:00Introduction and concepts
  2. 2:37Hazard pointer mechanics
  3. 7:47When to use hazard pointers
  4. 8:21API usage and synchronization
  5. 20:21Lockdep case study
  6. 24:17Handling allocation failure
  7. 24:57Nested readers and wildcards
  8. 25:58Implementation design choices
  9. 29:26Performance evaluations
  10. 35:47Q&A and concluding remarks
~/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.