diff options
author | 2012-05-09 15:44:42 -0700 | |
---|---|---|
committer | 2012-07-02 12:34:22 -0700 | |
commit | 1d1fb395f6dbc07b36285bbedcf01a73b57f7cb5 (patch) | |
tree | 450c8e5e2d69c6e8b6fd7820d6a7dc112d60325b /tools/perf/scripts/python | |
parent | rcu: Consolidate duplicate callback-list initialization (diff) | |
download | linux-dev-1d1fb395f6dbc07b36285bbedcf01a73b57f7cb5.tar.xz linux-dev-1d1fb395f6dbc07b36285bbedcf01a73b57f7cb5.zip |
rcu: Add ACCESS_ONCE() to ->qlen accesses
The _rcu_barrier() function accesses other CPUs' rcu_data structure's
->qlen field without benefit of locking. This commit therefore adds
the required ACCESS_ONCE() wrappers around accesses and updates that
need it.
ACCESS_ONCE() is not needed when a CPU accesses its own ->qlen, or
in code that cannot run while _rcu_barrier() is sampling ->qlen fields.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions