Commit f8e5a821 authored by Paul E. McKenney's avatar Paul E. McKenney Committed by Zhen Lei
Browse files

rcu: Do not NMI offline CPUs

mainline inclusion
from mainline-v5.12-rc1
commit 725969ac
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I7OIXK

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=725969ac11d7fa50aa701321daa600ce421fc21b



--------------------------------

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: default avatarPaul E. McKenney <paulmck@kernel.org>
Signed-off-by: default avatarZhen Lei <thunder.leizhen@huawei.com>
parent c5f16023
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment