lkml.org 
[lkml]   [2011]   [Nov]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] kexec: do not call kmsg_dump in crashdump
mtd/ram oops dumper will make more functions envolved. In case crash kexec, 
we should avoid kmsg dumper to ensure crashdump success.

kill kmsg_dump callback while crash dumping

Signed-off-by: Dave Young <dyoung@redhat.com>
---
kernel/kexec.c | 2 --
1 file changed, 2 deletions(-)

--- linux-2.6.orig/kernel/kexec.c 2011-11-18 16:34:18.000000000 +0800
+++ linux-2.6/kernel/kexec.c 2011-11-24 16:05:08.138660500 +0800
@@ -1094,8 +1094,6 @@ void crash_kexec(struct pt_regs *regs)
if (kexec_crash_image) {
struct pt_regs fixed_regs;

- kmsg_dump(KMSG_DUMP_KEXEC);
-
crash_setup_regs(&fixed_regs, regs);
crash_save_vmcoreinfo();
machine_crash_shutdown(&fixed_regs);

\
 
 \ /
  Last update: 2011-11-25 09:21    [W:1.007 / U:0.408 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site