]> err.no Git - linux-2.6/commit
[PATCH] x86_64: x86_64 add crashdump trigger points
authorVivek Goyal <vgoyal@in.ibm.com>
Tue, 18 Apr 2006 10:35:13 +0000 (12:35 +0200)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 18 Apr 2006 17:39:19 +0000 (10:39 -0700)
commit8bcc5280e68878d2b989c91d98305109e391c86a
treef6a804b0d1f080af45ebdcf2552a33840f059d85
parent87cb23a48c208f31ab87c7a2aad37dbb355575f3
[PATCH] x86_64: x86_64 add crashdump trigger points

o Start booting into the capture kernel after an Oops if system is in a
  unrecoverable state. System will boot into the capture kernel, if one is
  pre-loaded by the user, and capture the kernel core dump.

o One of the following conditions should be true to trigger the booting of
  capture kernel.
        - panic_on_oops is set.
        - pid of current thread is 0
        - pid of current thread is 1
        - Oops happened inside interrupt context.

Signed-off-by: Vivek Goyal <vgoyal@in.ibm.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/kernel/traps.c