Slide 8
Slide 8 text
September 25, 2024 Kernel Recipes 2024 8
Hazard Pointers (HP): Readers
●
Reader:
– Dereference pointer, loading address to object,
– Store address to HP slot,
– Memory barrier,
– Dereference pointer, loading address to object (again!)
– Validate that address was unchanged,
– [ use object ]
– Clear HP slot (store-release).