From: Miaohe Lin <linmiaohe@huawei.com>
To: Kefeng Wang <wangkefeng.wang@huawei.com>,
Naoya Horiguchi <naoya.horiguchi@nec.com>
Cc: <linux-kernel@vger.kernel.org>,
Andrew Morton <akpm@linux-foundation.org>,
Linux-MM <linux-mm@kvack.org>
Subject: Re: [PATCH v3] mm: memory-failure: convert to pr_fmt()
Date: Sat, 30 Jul 2022 17:31:53 +0800 [thread overview]
Message-ID: <e699cd23-3eeb-7920-accd-b30622efa551@huawei.com> (raw)
In-Reply-To: <20220729031919.72331-1-wangkefeng.wang@huawei.com>
On 2022/7/29 11:19, Kefeng Wang wrote:
> Use pr_fmt to prefix all pr_<level> output, but unpoison_memory()
> and soft_offline_page() are used by error injection, which have
> own prefixes like "Unpoison:" and "soft offline:", meanwhile,
> soft_offline_page() could be used by memory hotremove, so reset
> pr_fmt before unpoison_pr_info definition to keep the original
> output for them.
>
> Acked-by: Naoya Horiguchi <naoya.horiguchi@nec.com>
> Reviewed-by: Miaohe Lin <linmiaohe@huawei.com>
> Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
I'm sorry but this patch will make pr_info in try_to_split_thp_page looks like below?
Memory failure: Memory failure: 0x1b8200: thp split failed
or
Memory failure: soft offline: 0x1b8200: thp split failed
Thanks.
next prev parent reply other threads:[~2022-07-30 9:32 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-29 3:19 Kefeng Wang
2022-07-30 9:31 ` Miaohe Lin [this message]
2022-08-02 2:12 ` [PATCH] mm: memory-failure: cleanup try_to_split_thp_page() Kefeng Wang
2022-08-02 2:30 ` Kefeng Wang
2022-08-04 0:45 ` HORIGUCHI NAOYA(堀口 直也)
2022-08-04 1:03 ` Kefeng Wang
2022-08-05 3:00 ` Yin Fengwei
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=e699cd23-3eeb-7920-accd-b30622efa551@huawei.com \
--to=linmiaohe@huawei.com \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=naoya.horiguchi@nec.com \
--cc=wangkefeng.wang@huawei.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox