Re: [PATCH] hung_task : check the value of "sysctl_hung_task_timeout_sec"

2014-03-09 Thread Liu hua
on 2014/3/6 23:35, Paul Gortmaker wrote: > On 14-03-06 02:19 AM, Liu hua wrote: >> As sysctl_hung_task_timeout_sec is unsigned long, when this value is >> larger then LONG_MAX, the function schedule_timeout_interruptible in >> watchdog will return immediately without sleep : >> >> for example (in x

Re: [PATCH] hung_task : check the value of "sysctl_hung_task_timeout_sec"

2014-03-06 Thread Paul Gortmaker
On 14-03-06 02:19 AM, Liu hua wrote: > As sysctl_hung_task_timeout_sec is unsigned long, when this value is > larger then LONG_MAX, the function schedule_timeout_interruptible in > watchdog will return immediately without sleep : > > for example (in x86_64 platform): > > linux# echo 0xFFF

[PATCH] hung_task : check the value of "sysctl_hung_task_timeout_sec"

2014-03-05 Thread Liu hua
As sysctl_hung_task_timeout_sec is unsigned long, when this value is larger then LONG_MAX, the function schedule_timeout_interruptible in watchdog will return immediately without sleep : for example (in x86_64 platform): linux# echo 0x > /proc/sys/kernel/hung_task_timeout_secs [