Hi Paul and Akira, This patch set replaces plain accesses and ACCESS_ONCE() with READ_ONCE() and WRITE_ONCE() in Toy RCU examples. I will send another patch updating tex file accordingly on top of this patch set. -- Junchang Wang (3): rcu: Use READ_ONCE() and WRITE_ONCE() for shared variable rcu_gp_ctr rcu_nest: Use READ_ONCE() and WRITE_ONCE() for shared variable rcu_gp_ctr rcu_qs: Use READ_ONCE() AND WRITE_ONCE() for shared variable rcu_gp_ctr CodeSamples/defer/rcu.c | 2 +- CodeSamples/defer/rcu.h | 4 ++-- CodeSamples/defer/rcu_nest.c | 2 +- CodeSamples/defer/rcu_nest.h | 2 +- CodeSamples/defer/rcu_qs.c | 2 +- CodeSamples/defer/rcu_qs.h | 4 ++-- 6 files changed, 8 insertions(+), 8 deletions(-) -- 2.7.4