]> err.no Git - linux-2.6/commit
[PATCH] Avoid recursion in lockdep when stack tracer takes locks
authorAndi Kleen <ak@suse.de>
Tue, 26 Sep 2006 08:52:34 +0000 (10:52 +0200)
committerAndi Kleen <andi@basil.nowhere.org>
Tue, 26 Sep 2006 08:52:34 +0000 (10:52 +0200)
commit3fa7c794fe4dc127f7fac3fad4d13628e68f89ce
tree855a6737a2275317bcd3f3a9934c33dcadba6e6f
parent5a1b3999d6cb7ab87f1f3b1700bc91839fd6fa29
[PATCH] Avoid recursion in lockdep when stack tracer takes locks

The new dwarf2 unwinder needs to take locks to do backtraces
inside modules. This patch makes sure lockdep which calls
stacktrace is not reentered.

Thanks to Ingo for suggesting this simpler approach.

Cc: mingo@elte.hu
Signed-off-by: Andi Kleen <ak@suse.de>
kernel/lockdep.c