From: Mitsuhiro Tanino <mitsuhiro.tanino.gm@hitachi.com>
To: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp>
Cc: kexec@lists.infradead.org, linux-kernel@vger.kernel.org,
vgoyal@redhat.com, ebiederm@xmission.com
Subject: Re: [PATCH 2/2 v2] kexec: Export PG_hwpoison flag into vmcoreinfo
Date: Fri, 15 Feb 2013 17:48:24 +0900 [thread overview]
Message-ID: <511DF658.9080005@hitachi.com> (raw)
In-Reply-To: <20130208174944.96a3b50952e45e1219a94819@mxc.nes.nec.co.jp>
Hello Kumagai-san,
> I'm curious to know the status of this patch because I'll release
> makedumpfile-1.5.2 with the feature to exclude hwpoison page soon.
I requested Andrew to merge the kernel side patch, and the patch
has been added the -mm tree.
Please push the makedumpfile side patch into makedumpfile-1.5.2.
Regards,
Mitsuhiro Tanino
> TO: mm-commits@vger.kernel.org;
> CC: mitsuhiro.tanino.gm@hitachi.com; ebiederm@xmission.com; vgoyal@redhat.com;
> Sender: akpm@linux-foundation.org
> Sugject: + kexec-export-pg_hwpoison-flag-into-vmcoreinfo.patch added to -mm tree
> Date: 2013/02/13 07:50
>
>
> The patch titled
> Subject: kexec: export PG_hwpoison flag into vmcoreinfo
> has been added to the -mm tree. Its filename is
> kexec-export-pg_hwpoison-flag-into-vmcoreinfo.patch
>
> Before you just go and hit "reply", please:
> a) Consider who else should be cc'ed
> b) Prefer to cc a suitable mailing list as well
> c) Ideally: find the original patch on the mailing list and do a
> reply-to-all to that, adding suitable additional cc's
>
> *** Remember to use Documentation/SubmitChecklist when testing your code ***
>
> The -mm tree is included into linux-next and is updated
> there every 3-4 working days
>
> ------------------------------------------------------
> From: Mitsuhiro Tanino <mitsuhiro.tanino.gm@hitachi.com>
> Subject: kexec: export PG_hwpoison flag into vmcoreinfo
>
> This patch exports a PG_hwpoison into vmcoreinfo when
> CONFIG_MEMORY_FAILURE is defined. "makedumpfile" needs to read
> information of memory, such as 'mem_section', 'zone', 'pageflags' from
> vmcore.
>
> We introduce a function into "makedumpfile" to exclude hwpoison page from
> vmcore dump. In order to introduce this function, PG_hwpoison flag have
> to export into vmcoreinfo.
>
> Signed-off-by: Mitsuhiro Tanino <mitsuhiro.tanino.gm@hitachi.com>
> Acked-by: "Eric W. Biederman" <ebiederm@xmission.com>
> Cc: Mitsuhiro Tanino <mitsuhiro.tanino.gm@hitachi.com>
> Cc: Vivek Goyal <vgoyal@redhat.com>
> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
> ---
>
> kernel/kexec.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff -puN kernel/kexec.c~kexec-export-pg_hwpoison-flag-into-vmcoreinfo kernel/kexec.c
> --- a/kernel/kexec.c~kexec-export-pg_hwpoison-flag-into-vmcoreinfo
> +++ a/kernel/kexec.c
> @@ -1537,6 +1537,9 @@ static int __init crash_save_vmcoreinfo_
> VMCOREINFO_NUMBER(PG_private);
> VMCOREINFO_NUMBER(PG_swapcache);
> VMCOREINFO_NUMBER(PG_slab);
> +#ifdef CONFIG_MEMORY_FAILURE
> + VMCOREINFO_NUMBER(PG_hwpoison);
> +#endif
> VMCOREINFO_NUMBER(PAGE_BUDDY_MAPCOUNT_VALUE);
>
> arch_crash_save_vmcoreinfo();
> _
>
> Patches currently in -mm which might be from mitsuhiro.tanino.gm@hitachi.com are
>
> kexec-export-pg_hwpoison-flag-into-vmcoreinfo.patch
(2013/02/08 17:49), Atsushi Kumagai wrote:
> Hello,
>
> On Wed, 31 Oct 2012 23:05:05 +0900
> Mitsuhiro Tanino <mitsuhiro.tanino.gm@hitachi.com> wrote:
>
>> This patch exports a PG_hwpoison into vmcoreinfo when
>> CONFIG_MEMORY_FAILURE is defined.
>> "makedumpfile" needs to read information of memory, such as
>> 'mem_section', 'zone', 'pageflags' from vmcore.
>>
>> We introduce a function into "makedumpfile" to exclude
>> hwpoison page from vmcore dump.
>> In order to introduce this function, PG_hwpoison flag have
>> to export into vmcoreinfo.
>>
>> Signed-off-by: Mitsuhiro Tanino <mitsuhiro.tanino.gm@hitachi.com>
>
> I'm curious to know the status of this patch because I'll release
> makedumpfile-1.5.2 with the feature to exclude hwpoison page soon.
>
>
> Thanks
> Atsushi Kumagai
>
>> ---
>> kernel/kexec.c | 3 +++
>> 1 file changed, 3 insertions(+)
>>
>> diff --git a/kernel/kexec.c b/kernel/kexec.c
>> index 0668d58..0d5d6bc 100644
>> --- a/kernel/kexec.c
>> +++ b/kernel/kexec.c
>> @@ -1513,6 +1513,9 @@ static int __init crash_save_vmcoreinfo_init(void)
>> VMCOREINFO_NUMBER(PG_lru);
>> VMCOREINFO_NUMBER(PG_private);
>> VMCOREINFO_NUMBER(PG_swapcache);
>> +#ifdef CONFIG_MEMORY_FAILURE
>> + VMCOREINFO_NUMBER(PG_hwpoison);
>> +#endif
>>
>> arch_crash_save_vmcoreinfo();
>> update_vmcoreinfo_note();
>> --
>> 1.7.10.1
>>
>> _______________________________________________
>> kexec mailing list
>> kexec@lists.infradead.org
>> http://lists.infradead.org/mailman/listinfo/kexec
>
> _______________________________________________
> kexec mailing list
> kexec@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/kexec
> .
>
_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
WARNING: multiple messages have this Message-ID (diff)
From: Mitsuhiro Tanino <mitsuhiro.tanino.gm@hitachi.com>
To: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp>
Cc: kexec@lists.infradead.org, linux-kernel@vger.kernel.org,
vgoyal@redhat.com, ebiederm@xmission.com
Subject: Re: [PATCH 2/2 v2] kexec: Export PG_hwpoison flag into vmcoreinfo
Date: Fri, 15 Feb 2013 17:48:24 +0900 [thread overview]
Message-ID: <511DF658.9080005@hitachi.com> (raw)
In-Reply-To: <20130208174944.96a3b50952e45e1219a94819@mxc.nes.nec.co.jp>
Hello Kumagai-san,
> I'm curious to know the status of this patch because I'll release
> makedumpfile-1.5.2 with the feature to exclude hwpoison page soon.
I requested Andrew to merge the kernel side patch, and the patch
has been added the -mm tree.
Please push the makedumpfile side patch into makedumpfile-1.5.2.
Regards,
Mitsuhiro Tanino
> TO: mm-commits@vger.kernel.org;
> CC: mitsuhiro.tanino.gm@hitachi.com; ebiederm@xmission.com; vgoyal@redhat.com;
> Sender: akpm@linux-foundation.org
> Sugject: + kexec-export-pg_hwpoison-flag-into-vmcoreinfo.patch added to -mm tree
> Date: 2013/02/13 07:50
>
>
> The patch titled
> Subject: kexec: export PG_hwpoison flag into vmcoreinfo
> has been added to the -mm tree. Its filename is
> kexec-export-pg_hwpoison-flag-into-vmcoreinfo.patch
>
> Before you just go and hit "reply", please:
> a) Consider who else should be cc'ed
> b) Prefer to cc a suitable mailing list as well
> c) Ideally: find the original patch on the mailing list and do a
> reply-to-all to that, adding suitable additional cc's
>
> *** Remember to use Documentation/SubmitChecklist when testing your code ***
>
> The -mm tree is included into linux-next and is updated
> there every 3-4 working days
>
> ------------------------------------------------------
> From: Mitsuhiro Tanino <mitsuhiro.tanino.gm@hitachi.com>
> Subject: kexec: export PG_hwpoison flag into vmcoreinfo
>
> This patch exports a PG_hwpoison into vmcoreinfo when
> CONFIG_MEMORY_FAILURE is defined. "makedumpfile" needs to read
> information of memory, such as 'mem_section', 'zone', 'pageflags' from
> vmcore.
>
> We introduce a function into "makedumpfile" to exclude hwpoison page from
> vmcore dump. In order to introduce this function, PG_hwpoison flag have
> to export into vmcoreinfo.
>
> Signed-off-by: Mitsuhiro Tanino <mitsuhiro.tanino.gm@hitachi.com>
> Acked-by: "Eric W. Biederman" <ebiederm@xmission.com>
> Cc: Mitsuhiro Tanino <mitsuhiro.tanino.gm@hitachi.com>
> Cc: Vivek Goyal <vgoyal@redhat.com>
> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
> ---
>
> kernel/kexec.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff -puN kernel/kexec.c~kexec-export-pg_hwpoison-flag-into-vmcoreinfo kernel/kexec.c
> --- a/kernel/kexec.c~kexec-export-pg_hwpoison-flag-into-vmcoreinfo
> +++ a/kernel/kexec.c
> @@ -1537,6 +1537,9 @@ static int __init crash_save_vmcoreinfo_
> VMCOREINFO_NUMBER(PG_private);
> VMCOREINFO_NUMBER(PG_swapcache);
> VMCOREINFO_NUMBER(PG_slab);
> +#ifdef CONFIG_MEMORY_FAILURE
> + VMCOREINFO_NUMBER(PG_hwpoison);
> +#endif
> VMCOREINFO_NUMBER(PAGE_BUDDY_MAPCOUNT_VALUE);
>
> arch_crash_save_vmcoreinfo();
> _
>
> Patches currently in -mm which might be from mitsuhiro.tanino.gm@hitachi.com are
>
> kexec-export-pg_hwpoison-flag-into-vmcoreinfo.patch
(2013/02/08 17:49), Atsushi Kumagai wrote:
> Hello,
>
> On Wed, 31 Oct 2012 23:05:05 +0900
> Mitsuhiro Tanino <mitsuhiro.tanino.gm@hitachi.com> wrote:
>
>> This patch exports a PG_hwpoison into vmcoreinfo when
>> CONFIG_MEMORY_FAILURE is defined.
>> "makedumpfile" needs to read information of memory, such as
>> 'mem_section', 'zone', 'pageflags' from vmcore.
>>
>> We introduce a function into "makedumpfile" to exclude
>> hwpoison page from vmcore dump.
>> In order to introduce this function, PG_hwpoison flag have
>> to export into vmcoreinfo.
>>
>> Signed-off-by: Mitsuhiro Tanino <mitsuhiro.tanino.gm@hitachi.com>
>
> I'm curious to know the status of this patch because I'll release
> makedumpfile-1.5.2 with the feature to exclude hwpoison page soon.
>
>
> Thanks
> Atsushi Kumagai
>
>> ---
>> kernel/kexec.c | 3 +++
>> 1 file changed, 3 insertions(+)
>>
>> diff --git a/kernel/kexec.c b/kernel/kexec.c
>> index 0668d58..0d5d6bc 100644
>> --- a/kernel/kexec.c
>> +++ b/kernel/kexec.c
>> @@ -1513,6 +1513,9 @@ static int __init crash_save_vmcoreinfo_init(void)
>> VMCOREINFO_NUMBER(PG_lru);
>> VMCOREINFO_NUMBER(PG_private);
>> VMCOREINFO_NUMBER(PG_swapcache);
>> +#ifdef CONFIG_MEMORY_FAILURE
>> + VMCOREINFO_NUMBER(PG_hwpoison);
>> +#endif
>>
>> arch_crash_save_vmcoreinfo();
>> update_vmcoreinfo_note();
>> --
>> 1.7.10.1
>>
>> _______________________________________________
>> kexec mailing list
>> kexec@lists.infradead.org
>> http://lists.infradead.org/mailman/listinfo/kexec
>
> _______________________________________________
> kexec mailing list
> kexec@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/kexec
> .
>
next prev parent reply other threads:[~2013-02-15 8:48 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-30 14:06 [Patch 0/2] Exclude hwpoison page from vmcore dump Mitsuhiro Tanino
2012-10-30 14:06 ` Mitsuhiro Tanino
2012-10-30 14:37 ` Vivek Goyal
2012-10-30 14:37 ` Vivek Goyal
2012-10-31 13:51 ` Mitsuhiro Tanino
2012-10-31 13:51 ` Mitsuhiro Tanino
2012-10-31 14:14 ` Vivek Goyal
2012-10-31 14:14 ` Vivek Goyal
2012-11-01 10:32 ` Mitsuhiro Tanino
2012-11-01 10:32 ` Mitsuhiro Tanino
2012-11-01 10:40 ` Eric W. Biederman
2012-11-01 10:40 ` Eric W. Biederman
2012-10-31 14:04 ` [PATCH 0/2 v2] " Mitsuhiro Tanino
2012-10-31 14:04 ` Mitsuhiro Tanino
2012-10-31 14:05 ` [PATCH 1/2 v2] makedumpfile: Add a default action to exclude hwpoison page from vmcore Mitsuhiro Tanino
2012-10-31 14:05 ` Mitsuhiro Tanino
2012-11-05 6:04 ` Atsushi Kumagai
2012-11-05 6:04 ` Atsushi Kumagai
2012-10-31 14:05 ` [PATCH 2/2 v2] kexec: Export PG_hwpoison flag into vmcoreinfo Mitsuhiro Tanino
2012-10-31 14:05 ` Mitsuhiro Tanino
2013-02-08 8:49 ` Atsushi Kumagai
2013-02-08 8:49 ` Atsushi Kumagai
2013-02-12 3:07 ` Mitsuhiro Tanino
2013-02-12 3:07 ` Mitsuhiro Tanino
2013-02-12 10:58 ` Eric W. Biederman
2013-02-12 10:58 ` Eric W. Biederman
2013-02-12 13:29 ` Mitsuhiro Tanino
2013-02-12 13:29 ` Mitsuhiro Tanino
2013-02-15 8:48 ` Mitsuhiro Tanino [this message]
2013-02-15 8:48 ` Mitsuhiro Tanino
2013-02-15 9:35 ` Atsushi Kumagai
2013-02-15 9:35 ` Atsushi Kumagai
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=511DF658.9080005@hitachi.com \
--to=mitsuhiro.tanino.gm@hitachi.com \
--cc=ebiederm@xmission.com \
--cc=kexec@lists.infradead.org \
--cc=kumagai-atsushi@mxc.nes.nec.co.jp \
--cc=linux-kernel@vger.kernel.org \
--cc=vgoyal@redhat.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.