diff options
| author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2015-06-22 01:07:29 +0530 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-04-11 10:59:13 +0200 |
| commit | 9305c5c56034122d22b5b2a8c2ce4e0358f28366 (patch) | |
| tree | 62eb5b595a9baecd9f28a368d8747c70d3d41d0b /include/linux | |
| parent | c873d392b1c911e75aada1586d073d05cbbc6ed8 (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>
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Git-commit: 91dc95427a0d30ac2c58d6e943c7f40a3f25d908
[kishank@codeaurora.org resolve trivial conflicts]
Signed-off-by: Kishan Kumar <kishank@codeaurora.org>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Change-Id: I2ed581b545fb9c93468658fa621e71c091ec250b
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
