OSDN Git Service

rcu: For RCU grace-period kthread starvation, dump last CPU it ran on
authorPaul E. McKenney <paulmck@kernel.org>
Thu, 12 Nov 2020 00:08:01 +0000 (16:08 -0800)
committerPaul E. McKenney <paulmck@kernel.org>
Mon, 4 Jan 2021 21:59:41 +0000 (13:59 -0800)
commit243027a3c80564bf96e40437ffac46efb9f5f2b5
treeccc7f59cf857089053c449690e4cf53294595a5a
parentb08ea1de6a8f8929c7dafd6f708799365fa90c11
rcu: For RCU grace-period kthread starvation, dump last CPU it ran on

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: Paul E. McKenney <paulmck@kernel.org>
kernel/rcu/tree_stall.h