


















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
An outline for understanding reader-writer locking (rwl) and read copy update (rcu) synchronization techniques. Rcu allows multiple readers to access data concurrently with a single writer, while ensuring data consistency through garbage collection and linearization points. The document also discusses the concept of relativistic programming and its relation to rcu.
Typology: Study notes
1 / 26
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