| commit | 5090f3cf805301ed3a7e81abf63eb7a7dbefab0c | [log] [tgz] |
|---|---|---|
| author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Thu Aug 08 22:26:23 2013 -0700 |
| committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Thu Aug 08 22:26:23 2013 -0700 |
| tree | c61b0cea66e4083cc487e30c6b20560f86a0f92a | |
| parent | 88ed6e4dac80fd591a9f90ae9adf1e773d3fb53d [diff] |
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>