rcuscale: Dump stacks of stalled rcu_scale_writer() instances
authorPaul E. McKenney <paulmck@kernel.org>
Fri, 2 Aug 2024 00:42:59 +0000 (17:42 -0700)
committerNeeraj Upadhyay <neeraj.upadhyay@kernel.org>
Wed, 14 Aug 2024 11:36:01 +0000 (17:06 +0530)
commit42a8a2695ccbb98c15d73703cb39af70cdcf45fb
tree31e619148ecb0d9e1867e59a79011cdad03762a0
parentea793764b5c677cf16f114a5ee3fb620560a78f6
rcuscale: Dump stacks of stalled rcu_scale_writer() instances

This commit improves debuggability by dumping the stacks of
rcu_scale_writer() instances that have not completed in a reasonable
timeframe.  These stacks are dumped remotely, but they will be accurate
in the thus-far common case where the stalled rcu_scale_writer() instances
are blocked.

[ paulmck: Apply kernel test robot feedback. ]

Signed-off-by: "Paul E. McKenney" <paulmck@kernel.org>
Signed-off-by: Neeraj Upadhyay <neeraj.upadhyay@kernel.org>
kernel/rcu/rcuscale.c