Re: [RFC][PATCH] lockdep: Print a nice description of an irq lockingissue

From: Ingo Molnar
Date: Tue Mar 29 2011 - 14:21:47 EST



* Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

> After having to explain lockdep interrupt locking inversions a few
> times, I decided to have lockdep spit out the scenario that it is
> complaining about.

Looks very useful!

Would you be interested in extending this to other lockdep splats as well?

"What does this mean" is a very common reaction to lockdep splats on lkml, and
it's kind of silly that lockdep does not explain things better (like your patch
does) - it has already done the much harder job of *proving* that a locking
sequence is problematic :-)

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/