diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2013-08-08 22:26:23 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2013-09-23 09:16:13 -0700 |
commit | 591c6d1710cd73824057d08eda302cf2a7cfd18a (patch) | |
tree | dda4911c2001171f19cf09ed23ed652d43564114 /include/trace | |
parent | 88d6df612cc3c99f56cc18461fcc531c3a145544 (diff) | |
download | op-kernel-dev-591c6d1710cd73824057d08eda302cf2a7cfd18a.zip op-kernel-dev-591c6d1710cd73824057d08eda302cf2a7cfd18a.tar.gz |
rcu: Flag lockless access to ->gp_flags with ACCESS_ONCE()
This commit applies ACCESS_ONCE() to an outside-of-lock access to
->gp_flags. Although it is hard to imagine any sane compiler messing
this particular case up, the documentation benefits are substantial.
Plus the definition of "sane compiler" grows ever looser.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'include/trace')
0 files changed, 0 insertions, 0 deletions