summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2024-10-26 01:56:17 +0300
committerUladzislau Rezki (Sony) <urezki@gmail.com>2024-12-14 19:10:07 +0300
commite2bd168295e4eb719a343086baddfe0abca512a2 (patch)
tree9e46e5e577ecca41544aa5e52b1e8ed01b574c84 /tools/perf/scripts/python/exported-sql-viewer.py
parentd16e32f75f30d5228d9e0a3f6ca77b62c3a4383d (diff)
downloadlinux-e2bd168295e4eb719a343086baddfe0abca512a2.tar.xz
rcu: Move rcu_report_exp_rdp() setting of ->cpu_no_qs.b.exp under lock
This commit reduces the state space of rcu_report_exp_rdp() by moving the setting of ->cpu_no_qs.b.exp under the rcu_node structure's ->lock. The lock isn't really all that important here, given that this per-CPU field is supposed to be written only by its CPU, but the disabling of interrupts excludes things like rcu_exp_handler(), which also can write to this same field. Avoiding this sort of interleaved access reduces the state space. 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