diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2014-02-18 09:47:13 -0800 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2014-04-29 08:42:31 -0700 |
commit | 91dc95427a0d30ac2c58d6e943c7f40a3f25d908 (patch) | |
tree | 546418f74ad6d0fae8a736290139475fd34dafa1 /kernel/gcov/gcov.h | |
parent | c9eaa447e77efe77b7fa4c953bd62de8297fd6c5 (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>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Diffstat (limited to 'kernel/gcov/gcov.h')
0 files changed, 0 insertions, 0 deletions