From: Peter Zijlstra <peterz@infradead.org>
To: Don Zickus <dzickus@redhat.com>
Cc: x86@kernel.org, jwjstone@fastmail.fm,
LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 2/2 v2] watchdog: Always return NOTIFY_OK during cpu up/down events
Date: Thu, 17 Mar 2011 10:12:49 +0100 [thread overview]
Message-ID: <1300353169.2203.2767.camel@twins> (raw)
In-Reply-To: <1299533860-1642-2-git-send-email-dzickus@redhat.com>
On Mon, 2011-03-07 at 16:37 -0500, Don Zickus wrote:
>
> This patch addresses a couple of problems. One was the case when the
> hardlockup failed to start, it also failed to start the softlockup.
> There were valid cases when the hardlockup shouldn't start and that
> shouldn't block the softlockup (no lapic, bios controls perf
> counters).
>
> The second problem was when the hardlockup failed to start on boxes
> (from a no lapic or bios controlled perf counter case), it reported
> failure to the cpu notifier chain. This blocked the notifier from
> continuing to start other more critical pieces of cpu bring-up (in
> our case based on a 2.6.32 fork, it was the mce). As a result,
> during soft cpu online/offline testing, the system would panic
> when a cpu was offlined because the cpu notifier would succeed in
> processing a watchdog disable cpu event and would panic in the mce
> case as a result of un-initialized variables from a never executed
> cpu up event.
>
> I realized the hardlockup/softlockup cases are really just debugging
> aids and should never impede the progress of a cpu up/down event.
> Therefore I modified the code to always return NOTIFY_OK and instead
> rely on printks to inform the user of problems.
>
> Signed-off-by: Don Zickus <dzickus@redhat.com>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
next prev parent reply other threads:[~2011-03-17 9:13 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-07 21:37 [PATCH 1/2 v2] watchdog, nmi: Allow hardlockup to panic by default Don Zickus
2011-03-07 21:37 ` [PATCH 2/2 v2] watchdog: Always return NOTIFY_OK during cpu up/down events Don Zickus
2011-03-17 9:12 ` Peter Zijlstra [this message]
2011-03-17 12:16 ` WANG Cong
2011-03-17 9:12 ` [PATCH 1/2 v2] watchdog, nmi: Allow hardlockup to panic by default Peter Zijlstra
2011-03-17 12:05 ` WANG Cong
2011-03-18 1:50 ` Andrew Morton
2011-03-18 17:19 ` Don Zickus
2011-03-18 18:23 ` Andrew Morton
2011-03-18 18:58 ` 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=1300353169.2203.2767.camel@twins \
--to=peterz@infradead.org \
--cc=dzickus@redhat.com \
--cc=jwjstone@fastmail.fm \
--cc=linux-kernel@vger.kernel.org \
--cc=x86@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