]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
lock debug: sit tight when we are already in a panic
authorAndrew Morton <akpm@linux-foundation.org>
Fri, 12 Sep 2008 00:02:58 +0000 (17:02 -0700)
committerIngo Molnar <mingo@elte.hu>
Fri, 12 Sep 2008 09:11:21 +0000 (11:11 +0200)
commit53b9d87f41a3d8838210ad7cdef02d814817ce85
tree3beaebff32fdfc4daf5e2e6c3f02a966797f0c28
parent1d18ef489509314506328b9e464dd47c24c1d68f
lock debug: sit tight when we are already in a panic

in:

  > http://bugzilla.kernel.org/show_bug.cgi?id=11543

The panic code called the kexec code which called mutex_trylock() which
called spin_lock_mutex() which then stupidly went and blurted a load of
debug stuff because of in_interrupt().

Keep the lock debug code from escallating an already crappy situation.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/debug_locks.h