Re: [feature] automatically detect hung TASK_UNINTERRUPTIBLE tasks

From: Andi Kleen
Date: Sun Dec 02 2007 - 13:57:45 EST


Ingo Molnar <mingo@xxxxxxx> writes:

> this patch extends the soft-lockup detector to automatically
> detect hung TASK_UNINTERRUPTIBLE tasks. Such hung tasks are
> printed the following way:

That will likely trigger anytime a hard nfs/cifs mount loses its
server for 120s. To make this work you would need a new
TASK_UNINTERRUPTIBLE_EXTERNAL_EVENT or similar and mark
all the places which depend on those.

I've also seen kernel modules that use semaphores like wait queues
While that gives a little funny results (high load average) it worked
so far, until this patch.

-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/