From: Frederic Weisbecker <fweisbec@gmail.com>
To: Don Zickus <dzickus@redhat.com>
Cc: mingo@elte.hu, a.p.zijlstra@chello.nl, gorcunov@gmail.com,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/3] [watchdog] separate hardlockup/softlockup enable paths
Date: Wed, 19 May 2010 10:46:40 +0200 [thread overview]
Message-ID: <20100519084638.GH5704@nowhere> (raw)
In-Reply-To: <1274133966-18415-3-git-send-email-dzickus@redhat.com>
On Mon, May 17, 2010 at 06:06:05PM -0400, Don Zickus wrote:
> In preparation to support the backwards compatible option nmi_watchdog properly
> from the kernel commandline, the enable/disable paths for the hardlockup and
> softlockup code needed to separated more cleanly.
>
> The code is re-arranged a bit to create a watchdog_softlockup_enable/disable
> function to mimic the hardlockup counterpart. In addition, a softlockup callback
> is created to make it easy to turn the softlockup code on/off with out interfering
> with the hardlockup code.
>
> The functionality should still be the same.
I don't think we want this really. The unification is not only a good
thing for maintainance and genericity of code but also for the fact now
we don't need anymore to worry about which watchdog to turn on/off.
The fact is often when you have a lockup, you don't even know if it
is soft or hard. If you are on X, you won't know.
So people just don't bother about such granularity of control, they simply
enable or disable both detectors.
I would suggest you to let the things how they are and not making the code
more complicated for something that won't be used.
Just forget about the nmi_watchdog file. A simple watchdog file to control
everything is much better.
Thanks.
next prev parent reply other threads:[~2010-05-19 8:46 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-17 22:06 [PATCH 0/3] lockup detector fixes Don Zickus
2010-05-17 22:06 ` [PATCH 1/3] lockup_detector: convert per_cpu to __get_cpu_var for readability Don Zickus
2010-05-19 8:47 ` Frederic Weisbecker
2010-05-19 17:06 ` [tip:perf/nmi] lockup_detector: Convert " tip-bot for Don Zickus
2010-05-17 22:06 ` [PATCH 2/3] [watchdog] separate hardlockup/softlockup enable paths Don Zickus
2010-05-19 8:46 ` Frederic Weisbecker [this message]
2010-05-17 22:06 ` [PATCH 3/3] [watchdog] re-introduce support for nmi_watchdog, nosoftlockup 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=20100519084638.GH5704@nowhere \
--to=fweisbec@gmail.com \
--cc=a.p.zijlstra@chello.nl \
--cc=dzickus@redhat.com \
--cc=gorcunov@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
/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