Re: [feature] automatically detect hung TASK_UNINTERRUPTIBLE tasks

From: Ingo Molnar
Date: Sat Dec 01 2007 - 14:37:25 EST



* David Rientjes <rientjes@xxxxxxxxxx> wrote:

> > this patch extends the soft-lockup detector to automatically detect
> > hung TASK_UNINTERRUPTIBLE tasks. Such hung tasks are printed the
> > following way:
>
> Wouldn't a natural extension of this feature be to mark these hung
> TASK_UNINTERRUPTIBLE tasks with a new thread flag such as TIF_HUNG for
> the purposes of the OOM killer?

maybe, but we'd have to see how often this gets triggered. An OOM is
something that could happen in any overloaded system - while a hung task
is likely due to a kernel bug.

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