summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2024-10-16 19:19:30 +0300
committerFrederic Weisbecker <frederic@kernel.org>2024-10-23 19:00:17 +0300
commitcbe644aa6fe176bdeb7e175bb194ad644d65319f (patch)
treec4ab4e80ff1e85ad29a8e1b6e4e22539a5b0282f /tools/perf/scripts/python
parent26ff1fb02991e1260481185bb5ccab1ee498d5e4 (diff)
downloadlinux-cbe644aa6fe176bdeb7e175bb194ad644d65319f.tar.xz
rcu: Stop stall warning from dumping stacks if grace period ends
Currently, once an RCU CPU stall warning decides to dump the stalling CPUs' stacks, the rcu_dump_cpu_stacks() function persists until it has gone through the full list. Unfortunately, if the stalled grace periods ends midway through, this function will be dumping stacks of innocent-bystander CPUs that happen to be blocking not the old grace period, but instead the new one. This can cause serious confusion. This commit therefore stops dumping stacks if and when the stalled grace period ends. [ paulmck: Apply Joel Fernandes feedback. ] Signed-off-by: Paul E. McKenney <paulmck@kernel.org> Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions