From: Jan Beulich <jbeulich@novell.com>
To: linux-kernel@vger.kernel.org
Subject: prevent recursive panic from softlockup watchdog
Date: Wed, 8 Feb 2006 17:09:07 +0100 [thread overview]
Message-ID: <200602081709.07114.jbeulich@novell.com> (raw)
From: Jan Beulich <jbeulich@novell.com>
When panic_timeout is zero, suppress triggering a nested panic due to soft
lockup detection.
Signed-Off-By: Jan Beulich <jbeulich@novell.com>
diff -Npru /home/jbeulich/tmp/linux-2.6.16-rc2/kernel/panic.c 2.6.16-rc2-panic-softlockup/kernel/panic.c
--- /home/jbeulich/tmp/linux-2.6.16-rc2/kernel/panic.c 2006-02-06 11:02:54.000000000 +0100
+++ 2.6.16-rc2-panic-softlockup/kernel/panic.c 2006-01-25 09:55:53.000000000 +0100
@@ -130,6 +130,7 @@ NORET_TYPE void panic(const char * fmt,
#endif
local_irq_enable();
for (i = 0;;) {
+ touch_softlockup_watchdog();
i += panic_blink(i);
mdelay(1);
i++;
reply other threads:[~2006-02-08 16:08 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200602081709.07114.jbeulich@novell.com \
--to=jbeulich@novell.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®