[PATCH] softlockup: re-increase hung tasks check from 2 minutes to 8 minutes

Jeff Mahoney
2011-05-06T15:35:32Z

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