OSDN Git Service

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:50:50 +0000 (07:50 +0200)
commitc458c7c7839e1e531ec1c31803a2bc6e5e07037c
treedaf4edd5d4081e722bc31dd746634a5a7f2ae331
parent85e924bb3309d59ffee2e0c23c920c74826ba509
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