Re: [feature] automatically detect hung TASK_UNINTERRUPTIBLE tasks

From: Andi Kleen
Date: Sun Dec 02 2007 - 19:00:33 EST


> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/