diff options
author | 2024-10-25 11:43:28 -0700 | |
---|---|---|
committer | 2024-12-14 17:09:59 +0100 | |
commit | d16e32f75f30d5228d9e0a3f6ca77b62c3a4383d (patch) | |
tree | 7dfc14819c43164973f83aff2d5edf2327e1b193 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | rcu: Report callbacks enqueued on offline CPU blind spot (diff) | |
download | wireguard-linux-d16e32f75f30d5228d9e0a3f6ca77b62c3a4383d.tar.xz wireguard-linux-d16e32f75f30d5228d9e0a3f6ca77b62c3a4383d.zip |
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/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions