From: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
To: "Ken'ichi Ohmichi" <oomichi@mxs.nes.nec.co.jp>
Cc: kexec-ml <kexec@lists.infradead.org>,
lkml <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH-v2] kdump: Enable kdump if 2nd-kernel is loaded.
Date: Mon, 13 Jul 2009 16:48:55 +0900 [thread overview]
Message-ID: <4A5AE6E7.2000208@jp.fujitsu.com> (raw)
In-Reply-To: <4A5AB903.6090204@mxs.nes.nec.co.jp>
Ken'ichi Ohmichi wrote:
> Signed-off-by: Ken'ichi Ohmichi <oomichi@mxs.nes.nec.co.jp>
> Acked-by: Simon Horman <horms@verge.net.au>
> ---
> --- a/kernel/kexec.c 2009-07-08 12:30:26.000000000 +0900
> +++ b/kernel/kexec.c 2009-07-13 13:49:03.000000000 +0900
> @@ -57,7 +57,7 @@ struct resource crashk_res = {
>
> int kexec_should_crash(struct task_struct *p)
> {
> - if (in_interrupt() || !p->pid || is_global_init(p) || panic_on_oops)
> + if (kexec_crash_image)
> return 1;
> return 0;
> }
Reviewed-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Thanks,
H.Seto
next prev parent reply other threads:[~2009-07-13 7:49 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-09 8:05 [PATCH] kdump: Enable kdump if 2nd-kernel is loaded Ken'ichi Ohmichi
2009-07-10 6:32 ` Hidetoshi Seto
2009-07-10 7:05 ` Ken'ichi Ohmichi
2009-07-10 7:52 ` Hidetoshi Seto
2009-07-13 4:33 ` [PATCH-v2] " Ken'ichi Ohmichi
2009-07-13 7:48 ` Hidetoshi Seto [this message]
2009-07-13 17:06 ` Eric W. Biederman
2009-07-14 2:04 ` Hidetoshi Seto
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A5AE6E7.2000208@jp.fujitsu.com \
--to=seto.hidetoshi@jp.fujitsu.com \
--cc=kexec@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=oomichi@mxs.nes.nec.co.jp \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox