summaryrefslogtreecommitdiffstats
path: root/kernel/rcu
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2014-01-31 21:58:39 +0100
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2014-02-23 18:03:16 +0100
commit57a2fe90fcdaa812ac1aa6c91ba0e591c30f461a (patch)
treed8ccc4801bb561a55c0c31ab480f754c6ca4b3da /kernel/rcu
parentrcutorture: Abstract stutter_wait() (diff)
downloadlinux-57a2fe90fcdaa812ac1aa6c91ba0e591c30f461a.tar.xz
linux-57a2fe90fcdaa812ac1aa6c91ba0e591c30f461a.zip
rcutorture: Apply ACCESS_ONCE() to racy fullstop accesses
Because the fullstop variable can be accessed while it is being updated, this commit avoids any resulting compiler mischief through use of ACCESS_ONCE() for non-initialization accesses to this shared variable. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Diffstat (limited to 'kernel/rcu')
0 files changed, 0 insertions, 0 deletions