diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2022-12-17 02:55:48 +0300 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2023-01-04 04:28:34 +0300 |
commit | 2d7f00b2f01301d6e41fd4a28030dab0442265be (patch) | |
tree | 1c9f27780bb72d4786b9c2901c2dc1890293e5be /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 0cae5ded535c3a80aed94f119bbd4ee3ae284a65 (diff) | |
download | linux-2d7f00b2f01301d6e41fd4a28030dab0442265be.tar.xz |
rcu: Suppress smp_processor_id() complaint in synchronize_rcu_expedited_wait()
The normal grace period's RCU CPU stall warnings are invoked from the
scheduling-clock interrupt handler, and can thus invoke smp_processor_id()
with impunity, which allows them to directly invoke dump_cpu_task().
In contrast, the expedited grace period's RCU CPU stall warnings are
invoked from process context, which causes the dump_cpu_task() function's
calls to smp_processor_id() to complain bitterly in debug kernels.
This commit therefore causes synchronize_rcu_expedited_wait() to disable
preemption around its call to dump_cpu_task().
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions