commit | 57a2fe90fcdaa812ac1aa6c91ba0e591c30f461a | [log] [tgz] |
---|---|---|
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Fri Jan 31 12:58:39 2014 -0800 |
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Sun Feb 23 09:03:16 2014 -0800 |
tree | d8ccc4801bb561a55c0c31ab480f754c6ca4b3da | |
parent | 628edaa5062282b6e3d76c886fd2cbccae5cb87b [diff] |
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>