rcu: Do not NMI offline CPUs
authorPaul E. McKenney <paulmck@kernel.org>
Thu, 12 Nov 2020 20:19:47 +0000 (12:19 -0800)
committerPaul E. McKenney <paulmck@kernel.org>
Mon, 4 Jan 2021 21:59:47 +0000 (13:59 -0800)
commit725969ac11d7fa50aa701321daa600ce421fc21b
treeaa8891bc0679692fddeb7da6d34cc6163e19e059
parent243027a3c80564bf96e40437ffac46efb9f5f2b5
rcu: Do not NMI offline CPUs

Currently, RCU CPU stall warning messages will NMI whatever CPU looks
like it is blocking either the current grace period or the grace-period
kthread.  This can produce confusing output if the target CPU is offline.
This commit therefore checks for offline CPUs.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/rcu/tree_stall.h