commit | 5d02b17699565dc5a982d5fcf06c478ae10a29e7 | [log] [tgz] |
---|---|---|
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Tue Feb 18 09:47:13 2014 -0800 |
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Sun Feb 23 15:47:46 2014 -0800 |
tree | 15daa6759e8fc120e6d6fbf8fa6e97d79eb21b3b | |
parent | e9d86a3c1385d2c4bb1b9493643b1a6d7cdc64a8 [diff] |
rcu: Protect ->gp_flags accesses with ACCESS_ONCE() A number of ->gp_flags accesses don't have ACCESS_ONCE(), but all of the can race against other loads or stores. This commit therefore applies ACCESS_ONCE() to the unprotected ->gp_flags accesses. Reported-by: Alexey Roytman <alexey.roytman@oracle.com> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>