summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2024-10-25 21:43:28 +0300
committerUladzislau Rezki (Sony) <urezki@gmail.com>2024-12-14 19:09:59 +0300
commitd16e32f75f30d5228d9e0a3f6ca77b62c3a4383d (patch)
tree7dfc14819c43164973f83aff2d5edf2327e1b193 /tools/perf/scripts/python/exported-sql-viewer.py
parent049dfe96baf97228a9e98eaf50a8a7386ec7a483 (diff)
downloadlinux-d16e32f75f30d5228d9e0a3f6ca77b62c3a4383d.tar.xz
rcu: Make rcu_report_exp_cpu_mult() caller acquire lock
There is a hard-to-trigger bug in the expedited grace-period computation whose fix requires that the __sync_rcu_exp_select_node_cpus() function to check that the grace-period sequence number has not changed before invoking rcu_report_exp_cpu_mult(). However, this check must be done while holding the leaf rcu_node structure's ->lock. This commit therefore prepares for that fix by moving this lock's acquisition from rcu_report_exp_cpu_mult() to its callers (all two of them). Signed-off-by: Paul E. McKenney <paulmck@kernel.org> Cc: Frederic Weisbecker <frederic@kernel.org> Signed-off-by: Uladzislau Rezki (Sony) <urezki@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions