


















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



















A
B
C
D
C’
A
B
C
D
C’
RCU Garbage Collection
Linux Style
-^ read_lock()
-^ read_unlock()
-^ rcu_read_lock()
-^ rcu_dereference()
-^ rcu_read_unlock()
RWL
-^ write_lock()
-^ write_unlock()
-^ lock()
-^ rcu_assign_pointer()
-^ synchronize_rcu()
-^ free()
-^ unlock()
B
C
D
C’
request_read_lock()acquire_read_lock()
request_write_lock()
acquire_write_lock()
update_data
computation
write_unlock()
internal actionread_unlock()
external_action