[PATCH v2 0/3] Toyrcu: replace plain accesses with READ_ONCE() and

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux