]> git.karo-electronics.de Git - karo-tx-linux.git/commit
watchdog: trigger all-cpu backtrace when locked up and going to panic
authorSasha Levin <sasha.levin@oracle.com>
Tue, 26 Mar 2013 23:24:15 +0000 (10:24 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 4 Apr 2013 06:12:01 +0000 (17:12 +1100)
commit25f6af588ffddc4a2db4e9272d673186851e352a
tree64a00cc72346b4a909d42686dd601545735f3452
parent7e92c3bdbe288cd05e1cb4030dccc74ea1ecb815
watchdog: trigger all-cpu backtrace when locked up and going to panic

Send an NMI to all CPUs when a lockup is detected and the lockup watchdog
code is configured to panic.  This gives us a fairly uptodate snapshot of
all CPUs in the system.

This lets us get stack trace of all CPUs which makes life easier trying to
debug a deadlock, and the NMI doesn't change anything since the next step
is a kernel panic.

Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
kernel/watchdog.c