Re: [feature] automatically detect hung TASK_UNINTERRUPTIBLE tasks

From: Andi Kleen
Date: Sun Dec 02 2007 - 19:07:52 EST


> We really need to get better diagnostics for the
> bad-kernel-behavior-that-is-seen-as-bug cases. If we ever want to get
> to the scenario where we have a more or less robust measure of kernel
> quality (and we're not all that far off for several cases), one thing

One measure to kernel quality is to recover well from IO errors
(like network problems or broken block devices)

This patch will likely work against that by breaking error paths.

> This patch is a step in the right direction there, by quite a
> lot.
>
> I really don't understand what your objection is to this patch... is it
> that an enterprise distro can't ship with it on? (Which is fine btw)

Any distribution aimed at end users cannot ship with it on.
Most likely not even a standard Linus kernel should really enable
it without warnings.

Also in general I have my doubts that the false positive:real bug
ratio of this warning is well balanced. Just consider the original
example of dead network servers. Even in my relatively small
home network that that is a quite common occurrence. This patch
will break that all by throwing random backtraces when this
happens.

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