From: Peter Zijlstra Date: Thu, 7 Dec 2006 04:37:21 +0000 (-0800) Subject: [PATCH] lockdep: print current locks on in_atomic warnings X-Git-Tag: v2.6.20-rc1~145^2^2~166 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4c410f00f7ca4bd448b0d63f6f882fd244dc991;p=pandora-kernel.git [PATCH] lockdep: print current locks on in_atomic warnings Add debug_show_held_locks(current) to __might_sleep() and schedule(); this makes finding the offending lock leak easier. Signed-off-by: Peter Zijlstra Acked-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed