Re: [Intel-gfx] [PATCH] RFC: hung_task: taint kernel

2019-05-03 Thread Daniel Vetter
On Fri, May 03, 2019 at 09:47:03AM +0900, Tetsuo Handa wrote: > On 2019/05/03 5:46, Daniel Vetter wrote: > > There's the hung_task_panic sysctl, but that's a bit an extreme measure. > > As a fallback taint at least the machine. > > > > Our CI uses this to decide when a reboot is necessary, plus to

Re: [Intel-gfx] [PATCH] RFC: hung_task: taint kernel

2019-05-02 Thread Tetsuo Handa
On 2019/05/03 5:46, Daniel Vetter wrote: > There's the hung_task_panic sysctl, but that's a bit an extreme measure. > As a fallback taint at least the machine. > > Our CI uses this to decide when a reboot is necessary, plus to figure > out whether the kernel is still happy. Why your CI can't watc

[Intel-gfx] [PATCH] RFC: hung_task: taint kernel

2019-05-02 Thread Daniel Vetter
There's the hung_task_panic sysctl, but that's a bit an extreme measure. As a fallback taint at least the machine. Our CI uses this to decide when a reboot is necessary, plus to figure out whether the kernel is still happy. v2: Works much better when I put the else { add_taint() } at the right pl