Re: [feature] automatically detect hung TASK_UNINTERRUPTIBLE tasks

Andi Kleen
2007-12-03T00:00:19Z

> Delay accounting (or the /proc/<PID>/sched fields that i added recently)
> only get updated once a task has finished its unreasonably long delay
> and has scheduled.

If it is stuck forever then you can just use sysrq-t

If it recovers delay accounting will catch it.

> detected_ this way. This is a debugging facility that clearly belongs
> into the kernel.

My worry is that it will flag various legitimate cases. So far
you seem to try to just hand-wave them away.

-Andi