Monthly Archives: October 2013

Stupid RCU Tricks: Memory Ordering and Grace Periods

Al Viro came up with an example similar to this gem, where A and B are both initially zero: CPU 0 CPU 1 rcu_read_lock();B = 1;r1 = A;rcu_read_unlock();    A = 1;synchronize_rcu();r2 = B; Al’s question is whether the outcome r1 … Continue reading

Posted in Uncategorized | Tagged , | Comments Off on Stupid RCU Tricks: Memory Ordering and Grace Periods