Re: [PATCH] khungtaskd: Kick stuck processes

2018-02-13 Thread Michal Hocko
On Tue 13-02-18 12:08:12, Chris Wilson wrote: > Quoting Michal Hocko (2018-02-13 11:56:42) > > On Thu 08-02-18 19:07:53, Chris Wilson wrote: > > > After spotting a stuck process, and having decided not to panic, give > > > the task a kick to see if that helps it to recover (e.g. to paper over a > >

Re: [PATCH] khungtaskd: Kick stuck processes

2018-02-13 Thread Michal Hocko
On Thu 08-02-18 19:07:53, Chris Wilson wrote: > After spotting a stuck process, and having decided not to panic, give > the task a kick to see if that helps it to recover (e.g. to paper over a > missed wake up). huh, this is just no-no. watchdog is there to report problems not interfere. You canno

Re: [PATCH] khungtaskd: Kick stuck processes

2018-02-09 Thread Tetsuo Handa
Chris Wilson wrote: > Quoting Tetsuo Handa (2018-02-08 23:10:43) > > Chris Wilson wrote: > > > After spotting a stuck process, and having decided not to panic, give > > > the task a kick to see if that helps it to recover (e.g. to paper over a > > > missed wake up). > > > > Yes, we are seeing hang

Re: [PATCH] khungtaskd: Kick stuck processes

2018-02-08 Thread Chris Wilson
Quoting Tetsuo Handa (2018-02-08 23:10:43) > Chris Wilson wrote: > > After spotting a stuck process, and having decided not to panic, give > > the task a kick to see if that helps it to recover (e.g. to paper over a > > missed wake up). > > Yes, we are seeing hangs at io_schedule(), but doesn't op

Re: [PATCH] khungtaskd: Kick stuck processes

2018-02-08 Thread Tetsuo Handa
Chris Wilson wrote: > After spotting a stuck process, and having decided not to panic, give > the task a kick to see if that helps it to recover (e.g. to paper over a > missed wake up). Yes, we are seeing hangs at io_schedule(), but doesn't optionally allowing io_schedule() be replaced with timeou

[PATCH] khungtaskd: Kick stuck processes

2018-02-08 Thread Chris Wilson
After spotting a stuck process, and having decided not to panic, give the task a kick to see if that helps it to recover (e.g. to paper over a missed wake up). References: https://bugs.freedesktop.org/show_bug.cgi?id=104009 References: https://bugs.freedesktop.org/show_bug.cgi?id=104682 Signed-off