diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2024-10-16 19:19:30 +0300 |
---|---|---|
committer | Frederic Weisbecker <frederic@kernel.org> | 2024-10-23 19:00:17 +0300 |
commit | cbe644aa6fe176bdeb7e175bb194ad644d65319f (patch) | |
tree | c4ab4e80ff1e85ad29a8e1b6e4e22539a5b0282f /drivers/perf/arm_pmuv3.c | |
parent | 26ff1fb02991e1260481185bb5ccab1ee498d5e4 (diff) | |
download | linux-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 'drivers/perf/arm_pmuv3.c')
0 files changed, 0 insertions, 0 deletions