]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
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)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Mon, 27 Aug 2018 14:40:05 +0000 (16:40 +0200)
commit2227d91f900f026483037f0dc9598e94ceb3a5a4
treefed5668a8fdd4fc159fcdb3de0abb95ccd861391
parent150b969b38719fff11f1cf863a3fcc0a5e74ee9b
rcu: Call touch_nmi_watchdog() while printing stall warnings

BugLink: http://bugs.launchpad.net/bugs/1786352
[ 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.

Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
kernel/rcu/tree_plugin.h