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

rcu: For RCU grace-period kthread starvation, dump last CPU it ran on

mainline inclusion
from mainline-v5.12-rc1
commit 243027a3
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=243027a3c80564bf96e40437ffac46efb9f5f2b5



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

When the RCU CPU stall-warning code detects that the RCU grace-period
kthread is being starved, it dumps that kthread's stack.  This can
sometimes be useful, but it is also useful to know what is running on the
CPU that this kthread is attempting to run on.  This commit therefore
adds a stack trace of this CPU in order to help track down whatever it
is that might be preventing RCU's grace-period kthread from running.

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