RCU

Creator
Creator
Seonglae ChoSeonglae Cho
Created
Created
2023 Nov 8 6:48
Editor
Edited
Edited
2023 Nov 15 6:36
Refs
Refs

Read-Copy Update

RCU principle: concurrent read access with write updates
 

Constraints

  • The protected resource must be accessed via a pointer.
  • The kernel cannot go to sleep within a region protected by RCU.
 
Widely-used for read-mostly data structures
커널 자료구조에 특화된 primitive
rcu_read_lock(), rcu_read_unlock(), rcu_deference(), rcu_assign_pointer(), synchronize_rcu(), call_rcu()
notion image
 
 
 

Recommendations