Files
linux/Documentation
Liu Hua dfe468daba hung_task: check the value of "sysctl_hung_task_timeout_sec"
commit 80df284765 upstream.

As sysctl_hung_task_timeout_sec is unsigned long, when this value is
larger then LONG_MAX/HZ, the function schedule_timeout_interruptible in
watchdog will return immediately without sleep and with print :

  schedule_timeout: wrong timeout value ffffffffffffff83

and then the funtion watchdog will call schedule_timeout_interruptible
again and again.  The screen will be filled with

	"schedule_timeout: wrong timeout value ffffffffffffff83"

This patch does some check and correction in sysctl, to let the function
schedule_timeout_interruptible allways get the valid parameter.

Signed-off-by: Liu Hua <sdu.liu@huawei.com>
Tested-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-06 07:59:35 -07:00
..
2014-02-10 16:01:40 -08:00
2011-09-27 18:08:04 +02:00
2012-04-03 13:09:18 +02:00
2014-02-10 16:01:40 -08:00
2011-09-27 18:08:04 +02:00
2013-04-02 09:39:55 -07:00
2014-02-10 16:01:40 -08:00
2013-11-27 11:03:38 -08:00
2011-03-31 11:26:23 -03:00
2013-01-10 01:27:46 +01:00
2013-07-25 12:34:15 +02:00
2014-02-10 16:01:40 -08:00
2013-10-16 13:35:02 -07:00
2014-02-10 16:01:40 -08:00
2014-02-10 16:01:40 -08:00
2014-02-10 16:01:40 -08:00
2010-04-08 11:34:34 +02:00
2014-02-10 16:01:40 -08:00
2008-12-03 16:09:53 -07:00
2008-07-25 10:53:30 -07:00
2014-01-16 12:00:57 -08:00
2011-03-31 11:26:23 -03:00
2013-12-19 10:17:11 -07:00
2013-11-14 11:04:40 -08:00
2012-07-29 21:11:05 -03:00
2013-12-02 14:48:28 +01:00
2013-12-02 14:48:28 +01:00
2013-12-02 14:48:28 +01:00
2011-03-31 11:26:23 -03:00
2011-09-27 18:08:04 +02:00
2009-04-27 12:00:27 -07:00
2009-04-27 12:00:27 -07:00
2013-12-02 14:45:19 +01:00
2012-02-28 16:05:06 +01:00
2013-10-24 10:51:33 +02:00
2006-06-27 17:32:47 -07:00
2011-03-31 11:26:23 -03:00
2013-09-05 16:36:21 -06:00
2012-01-02 13:04:55 +01:00