From: Andrew Morton <akpm@linux-foundation.org>
To: Ingo Molnar <mingo@elte.hu>
Cc: Don Zickus <dzickus@redhat.com>,
fweisbec@gmail.com, Peter Zijlstra <peterz@infradead.org>,
LKML <linux-kernel@vger.kernel.org>,
sergey.senozhatsky@gmail.com
Subject: Re: [PATCH v3] watchdog: touch_nmi_watchdog should only touch local cpu not every one
Date: Wed, 10 Nov 2010 07:08:08 -0800 [thread overview]
Message-ID: <20101110070808.46c4adb5.akpm@linux-foundation.org> (raw)
In-Reply-To: <20101110074941.GD29493@elte.hu>
On Wed, 10 Nov 2010 08:49:41 +0100 Ingo Molnar <mingo@elte.hu> wrote:
>
> * Don Zickus <dzickus@redhat.com> wrote:
>
> > I ran into a scenario where while one cpu was stuck and should have panic'd
> > because of the NMI watchdog, it didn't. The reason was another cpu was spewing
> > stack dumps on to the console. Upon investigation, I noticed that when writing to
> > the console and also when dumping the stack, the watchdog is touched.
> >
> > This causes all the cpus to reset their NMI watchdog flags and the 'stuck' cpu
> > just spins forever.
>
> Hm, the flip side is that if a CPU is stuck spewing backtraces, we will now make all
> the other CPUs a lot more noisy - which might only 'lock up' because this CPU is
> stuck spewing oopses, right?
>
> Andrew, what would be your preference?
>
I saw you were cc'ed and felt rather pleased that I wouldn't have to
decide ;)
I guess the NMI really is a cpu-local concept rather than a
machine-wide one. And touch_nmi_watchdog() says "this CPU isn't
stuck", rather than "this CPU and all those others aren't stuck", yes?
next prev parent reply other threads:[~2010-11-10 15:11 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-08 18:28 [PATCH v3] watchdog: touch_nmi_watchdog should only touch local cpu not every one Don Zickus
2010-11-10 7:49 ` Ingo Molnar
2010-11-10 15:08 ` Andrew Morton [this message]
2010-11-10 16:05 ` Don Zickus
2010-11-10 18:07 ` Ingo Molnar
2010-11-10 19:03 ` Don Zickus
2010-11-10 19:14 ` Ingo Molnar
2010-11-15 18:23 ` Don Zickus
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=20101110070808.46c4adb5.akpm@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=dzickus@redhat.com \
--cc=fweisbec@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=peterz@infradead.org \
--cc=sergey.senozhatsky@gmail.com \
/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