Re: [PATCH] hung_task: recover hung task warnings in next check interval

2019-06-20 Thread Yafang Shao
On Thu, Jun 20, 2019 at 6:23 PM Tetsuo Handa wrote: > > On 2019/06/20 19:10, Yafang Shao wrote: > >>> With this patch, hung task warnings will be reset with > >>> sys_hung_task_warnings setting in evenry check interval. > >> > >> Since it is uncommon that the messages are printed for more than 10

Re: [PATCH] hung_task: recover hung task warnings in next check interval

2019-06-20 Thread Tetsuo Handa
On 2019/06/20 19:10, Yafang Shao wrote: >>> With this patch, hung task warnings will be reset with >>> sys_hung_task_warnings setting in evenry check interval. >> >> Since it is uncommon that the messages are printed for more than 10 >> times for one check_hung_uninterruptible_tasks() call, this pa

Re: [PATCH] hung_task: recover hung task warnings in next check interval

2019-06-20 Thread Yafang Shao
On Thu, Jun 20, 2019 at 6:03 PM Tetsuo Handa wrote: > > On 2019/06/20 14:55, Yafang Shao wrote: > > When sys_hung_task_warnings reaches 0, the hang task messages will not > > be reported any more. > > It is a common mistake that sys_hung_task_warnings is already 0 when > a real problem which shoul

Re: [PATCH] hung_task: recover hung task warnings in next check interval

2019-06-20 Thread Tetsuo Handa
On 2019/06/20 14:55, Yafang Shao wrote: > When sys_hung_task_warnings reaches 0, the hang task messages will not > be reported any more. It is a common mistake that sys_hung_task_warnings is already 0 when a real problem which should be reported occurred. > > If the user want to get more hung ta

[PATCH] hung_task: recover hung task warnings in next check interval

2019-06-19 Thread Yafang Shao
When sys_hung_task_warnings reaches 0, the hang task messages will not be reported any more. If the user want to get more hung task messages, he must reset kernel.hung_task_warnings to a postive integer or -1 with sysctl. This is not a good way for the user. We'd better reset hung task warnings in