public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Daniel Walker <dwalker@fifo99.com>
To: Muthu Kumar <muthu.lkml@gmail.com>
Cc: Mandeep Baines <msb@google.com>,
	fweisbec@gmail.com, sshaiju@mvista.com, mingo@elte.hu,
	akpm@linux-foundation.org, linux-kernel@vger.kernel.org
Subject: Re: hung_task checking and sys_sync
Date: Wed, 13 Jun 2012 08:43:55 -0700	[thread overview]
Message-ID: <20120613154355.GA25882@fifo99.com> (raw)
In-Reply-To: <CAFR8ueewu_bh52wYJgWG0BdY3c=5zDXmRZ=1a-T117qQg3ux0A@mail.gmail.com>

On Tue, Jun 12, 2012 at 06:03:20PM -0700, Muthu Kumar wrote:
> On Tue, Jun 12, 2012 at 3:57 PM, Daniel Walker <dwalker@fifo99.com> wrote:
> > On Tue, Jun 12, 2012 at 03:45:20PM -0700, Mandeep Baines wrote:
> >> On Tue, Jun 12, 2012 at 3:34 PM, Daniel Walker <dwalker@fifo99.com> wrote:
> >> > On Tue, Jun 12, 2012 at 03:29:12PM -0700, Mandeep Singh Baines wrote:
> >> >>
> >> >> But the time is not unbounded. You could mask the hung_task_detector for
> >> >> this case but then you lose the ability to catch bugs in this code path.
> >> >>
> >> >> The timeout is configurable via /proc/sys/kernel/hung_task_timeout_secs.
> >> >> Can you bump up the value at boot via sysctl.conf?
> >> >
> >> > Maybe, but I'm wondering if these types should just be stopped because Andrew
> >> > had complained about them already.
> >> >
> >>
> >> Fair enough. Actually, internally I had a patch where we'd use a task
> >> flag to disable and enable the hang check but the approach in the
> >> patch you pointed me to seems better.
> >
> > I'm not really in love with it actually.. It's not ifdef'd for one, but
> > it's also changing potentially good kernel behavior to avoid warnings.
> >
> I totally agree with you (but, not the ifdef part :). The mentioned
> change actually was masking a potential problem - see
> https://lkml.org/lkml/2012/6/6/483. If not for that change, we would
> have got hung task message for the case where blk_execute_req() would
> have stuck forever without the completion being called.


Not sure how the link you gave relates here.

The hang checker isn't always part of the kernel i.e. it's configurable.
So this fix doesn't always need to exist, which is what I mean by
ifdef'd ..

Daniel

  reply	other threads:[~2012-06-13 15:44 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-12 22:09 hung_task checking and sys_sync Daniel Walker
2012-06-12 22:29 ` Mandeep Singh Baines
2012-06-12 22:34   ` Daniel Walker
2012-06-12 22:45     ` Mandeep Baines
2012-06-12 22:57       ` Daniel Walker
2012-06-13  1:03         ` Muthu Kumar
2012-06-13 15:43           ` Daniel Walker [this message]
2012-06-13  3:02       ` Sadasivan Shaiju

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=20120613154355.GA25882@fifo99.com \
    --to=dwalker@fifo99.com \
    --cc=akpm@linux-foundation.org \
    --cc=fweisbec@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=msb@google.com \
    --cc=muthu.lkml@gmail.com \
    --cc=sshaiju@mvista.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