aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/futex-contention.py
diff options
context:
space:
mode:
authorPaul E. McKenney <[email protected]>2018-04-22 15:06:05 -0700
committerPaul E. McKenney <[email protected]>2018-07-12 14:25:17 -0700
commit18390aeae7010ee56b132dcfb663ba362a099d99 (patch)
tree52282bb131a34abc51599d1aaa71a0da62084f9d /tools/perf/scripts/python/futex-contention.py
parent26d950a9451336a6b5abc1c8ca6c21df58e8d89f (diff)
rcu: Make rcu_gp_cleanup() write only once to ->gp_flags
At the end of rcu_gp_cleanup(), if another grace period is needed, but not via rcu_accelerate_cbs(), the ->gp_flags field is written twice, once when making the new grace-period request, and once when clearing all other types of requests. This commit therefore adds an else-clause to avoid this double write. Signed-off-by: Paul E. McKenney <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions