Skip to content
Commit 2d7f00b2 authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

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: default avatarPaul E. McKenney <paulmck@kernel.org>
parent 0cae5ded
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment