Re: [PATCH] sched: set TAINT_UNSAFE_SMP after sleep-in-atomic bug

From: Konstantin Khlebnikov
Date: Thu May 10 2012 - 06:56:14 EST


Peter Zijlstra wrote:
On Thu, 2012-05-10 at 11:54 +0400, Konstantin Khlebnikov wrote:
Usually sleep-in-atomic bugs are followed by dozens other warnings.
This patch should help to figure out original source of problem.
This taint flag also turns off lockdep, because it can go mad after that.

There's already TAINT_WARN any output with that set should be ignored.

Where? I do not see here anything which might set TAINT_WARN.

Or you suggest to use TAINT_WARN instead of TAINT_UNSAFE_SMP?
--
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/