rcu: Call touch_nmi_watchdog() while printing stall warnings
authorTejun Heo <tj@kernel.org>
Tue, 9 Jan 2018 18:38:17 +0000 (10:38 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 May 2018 05:52:39 +0000 (07:52 +0200)
commit46d8696c613b4256f625ffd0cbeb88574e3c7033
tree0d557fa1776f74d66e4e9897fa669255ff7ec8e1
parent162af93fa251958812ebbc5cc622acecda1d0547
rcu: Call touch_nmi_watchdog() while printing stall warnings

[ Upstream commit 3caa973b7a260e7a2a69edc94c300ab9c65148c3 ]

When RCU stall warning triggers, it can print out a lot of messages
while holding spinlocks.  If the console device is slow (e.g. an
actual or IPMI serial console), it may end up triggering NMI hard
lockup watchdog like the following.
kernel/rcu/tree_plugin.h