All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Toyrcu: replace plain accesses with READ_ONCE() and
@ 2019-04-25  8:29 Junchang Wang
  2019-04-25  8:29 ` [PATCH v2 1/3] rcu: Use READ_ONCE() and WRITE_ONCE() for shared variable rcu_gp_ctr Junchang Wang
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Junchang Wang @ 2019-04-25  8:29 UTC (permalink / raw)
  To: paulmck, akiyks; +Cc: perfbook, Junchang Wang

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-04-28 14:57 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-25  8:29 [PATCH v2 0/3] Toyrcu: replace plain accesses with READ_ONCE() and Junchang Wang
2019-04-25  8:29 ` [PATCH v2 1/3] rcu: Use READ_ONCE() and WRITE_ONCE() for shared variable rcu_gp_ctr Junchang Wang
2019-04-25  8:29 ` [PATCH v2 2/3] rcu_nest: " Junchang Wang
2019-04-25  8:29 ` [PATCH v2 3/3] rcu_qs: Use READ_ONCE() AND " Junchang Wang
2019-04-25 15:38 ` [PATCH v2 0/3] Toyrcu: replace plain accesses with READ_ONCE() and Akira Yokosawa
2019-04-26  8:15   ` Junchang Wang
2019-04-26 13:43   ` Paul E. McKenney
2019-04-27 14:27     ` Akira Yokosawa
2019-04-28 14:57       ` Junchang Wang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.