public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] softlockup: re-increase hung tasks check from 2 minutes to 8 minutes
@ 2011-05-06 15:35 Jeff Mahoney
  2011-05-06 19:18 ` Ingo Molnar
  2011-05-09 20:57 ` Andrew Morton
  0 siblings, 2 replies; 5+ messages in thread
From: Jeff Mahoney @ 2011-05-06 15:35 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Ingo Molnar, Linux Kernel Mailing List, Mandeep Singh Baines

 Commit e162b39a, which moved the soft lockup code around a bit,
 accidentally reverted commit fb822db4, which extended the soft lockup
 timeout from 2 minutes to 8 minutes.

 This patch restores it to 8 minutes.

 From the original patch:
 >Andrew says:
 >
 >> Seems that about 100% of the reports we get of this warning triggering
 >> are sys_sync, transaction commit, etc.
 >
 >increase the timeout. If it still triggers for people, we can kill it.

Originally-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
---

 kernel/hung_task.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/kernel/hung_task.c
+++ b/kernel/hung_task.c
@@ -33,7 +33,7 @@ unsigned long __read_mostly sysctl_hung_
 /*
  * Zero means infinite timeout - no checking done:
  */
-unsigned long __read_mostly sysctl_hung_task_timeout_secs = 120;
+unsigned long __read_mostly sysctl_hung_task_timeout_secs = 480;
 
 unsigned long __read_mostly sysctl_hung_task_warnings = 10;
 
-- 
Jeff Mahoney
SUSE Labs

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] softlockup: re-increase hung tasks check from 2 minutes to 8 minutes
  2011-05-06 15:35 [PATCH] softlockup: re-increase hung tasks check from 2 minutes to 8 minutes Jeff Mahoney
@ 2011-05-06 19:18 ` Ingo Molnar
  2011-05-06 19:48   ` Jeff Mahoney
  2011-05-09 20:57 ` Andrew Morton
  1 sibling, 1 reply; 5+ messages in thread
From: Ingo Molnar @ 2011-05-06 19:18 UTC (permalink / raw)
  To: Jeff Mahoney
  Cc: Andrew Morton, Linux Kernel Mailing List, Mandeep Singh Baines


* Jeff Mahoney <jeffm@suse.com> wrote:

>  Commit e162b39a, which moved the soft lockup code around a bit,
>  accidentally reverted commit fb822db4, which extended the soft lockup
>  timeout from 2 minutes to 8 minutes.
> 
>  This patch restores it to 8 minutes.

This patch wont apply, because i already have your other patch committed. Could 
you do it against latest -tip:

  http://people.redhat.com/mingo/tip.git/README

Thanks,

	Ingo

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] softlockup: re-increase hung tasks check from 2 minutes to 8 minutes
  2011-05-06 19:18 ` Ingo Molnar
@ 2011-05-06 19:48   ` Jeff Mahoney
  2011-05-10  7:57     ` Ingo Molnar
  0 siblings, 1 reply; 5+ messages in thread
From: Jeff Mahoney @ 2011-05-06 19:48 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: Andrew Morton, Linux Kernel Mailing List, Mandeep Singh Baines

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 05/06/2011 03:18 PM, Ingo Molnar wrote:
> 
> * Jeff Mahoney <jeffm@suse.com> wrote:
> 
>>  Commit e162b39a, which moved the soft lockup code around a bit,
>>  accidentally reverted commit fb822db4, which extended the soft lockup
>>  timeout from 2 minutes to 8 minutes.
>>
>>  This patch restores it to 8 minutes.
> 
> This patch wont apply, because i already have your other patch committed. Could 
> you do it against latest -tip:
> 
>   http://people.redhat.com/mingo/tip.git/README

After Andrew commented, and I agreed, that the sysctl should just be set
instead of adding another config option I was thinking we'd just drop
the other patch and replace it with this one.

- -Jeff

- -- 
Jeff Mahoney
SUSE Labs
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

iEYEARECAAYFAk3EUH4ACgkQLPWxlyuTD7JL8ACfS1DnnFGjN0j3zwt1eldfk5pu
e20AoInzD0SzxeTH4F1kNKZHHExt9eO+
=qV/f
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] softlockup: re-increase hung tasks check from 2 minutes to 8 minutes
  2011-05-06 15:35 [PATCH] softlockup: re-increase hung tasks check from 2 minutes to 8 minutes Jeff Mahoney
  2011-05-06 19:18 ` Ingo Molnar
@ 2011-05-09 20:57 ` Andrew Morton
  1 sibling, 0 replies; 5+ messages in thread
From: Andrew Morton @ 2011-05-09 20:57 UTC (permalink / raw)
  To: Jeff Mahoney; +Cc: Ingo Molnar, Linux Kernel Mailing List, Mandeep Singh Baines

On Fri, 06 May 2011 11:35:26 -0400
Jeff Mahoney <jeffm@suse.com> wrote:

>  Commit e162b39a, which moved the soft lockup code around a bit,
>  accidentally reverted commit fb822db4, which extended the soft lockup
>  timeout from 2 minutes to 8 minutes.
> 
>  This patch restores it to 8 minutes.

Nit: it's conventional to refer to commits in the following manner:

e162b39a ("softlockup: decouple hung tasks check from softlockup detection")

because a commit can have a different hash in different trees.

Notnit: "softlockup: decouple hung tasks check from softlockup
detection" was merged two years ago.  Shouldn't we have a Cc:
<stable@kernel.org> in this changelog?


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] softlockup: re-increase hung tasks check from 2 minutes to 8 minutes
  2011-05-06 19:48   ` Jeff Mahoney
@ 2011-05-10  7:57     ` Ingo Molnar
  0 siblings, 0 replies; 5+ messages in thread
From: Ingo Molnar @ 2011-05-10  7:57 UTC (permalink / raw)
  To: Jeff Mahoney
  Cc: Andrew Morton, Linux Kernel Mailing List, Mandeep Singh Baines


* Jeff Mahoney <jeffm@suse.com> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 05/06/2011 03:18 PM, Ingo Molnar wrote:
> > 
> > * Jeff Mahoney <jeffm@suse.com> wrote:
> > 
> >>  Commit e162b39a, which moved the soft lockup code around a bit,
> >>  accidentally reverted commit fb822db4, which extended the soft lockup
> >>  timeout from 2 minutes to 8 minutes.
> >>
> >>  This patch restores it to 8 minutes.
> > 
> > This patch wont apply, because i already have your other patch committed. Could 
> > you do it against latest -tip:
> > 
> >   http://people.redhat.com/mingo/tip.git/README
> 
> After Andrew commented, and I agreed, that the sysctl should just be set
> instead of adding another config option I was thinking we'd just drop
> the other patch and replace it with this one.

Well, since i already applied it please revert it in this second change and 
explain that you and Andrew think the config is unnecessary and we can just up 
the timeout back to 8 minutes and most everyone will be happy ...

Thanks,

	Ingo

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-05-10  7:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-06 15:35 [PATCH] softlockup: re-increase hung tasks check from 2 minutes to 8 minutes Jeff Mahoney
2011-05-06 19:18 ` Ingo Molnar
2011-05-06 19:48   ` Jeff Mahoney
2011-05-10  7:57     ` Ingo Molnar
2011-05-09 20:57 ` Andrew Morton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox