SLIDE 1
Read-Copy-Update (RCU)
Josh Triplett May 22, 2006
Topics
- The RCU API
- How it works
- How to use it
- What happens if you don’t use it correctly
- Example uses
Recurring Example - Writer 1 ✈♦✐❞ write_thing () 2 { 3 str✉❝t thing *t, *old; 4 t = kmalloc(s✐③❡♦❢(*t), GFP_KERNEL ); 5 spin_lock (& thing_lock ); 6 t->contents = some_value; 7
- ld = global_thing;