]> 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>
Thu, 7 Feb 2013 01:26:08 +0000 (12:26 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 18 Feb 2013 05:46:14 +0000 (16:46 +1100)
commitf313a7ef7f893935e2bd33969dd158e036a80a0b
tree5a6deb22f103c16d5f36c38c34830c65b7222fc6
parente5636ade5b198cba69667a21ffb2ba11a9c138ce
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