Re: [PATCH v2] mm: memory-failure: cleanup try_to_split_thp_page()

From: Kefeng Wang
Date: Tue Aug 16 2022 - 07:08:11 EST



On 2022/8/16 13:47, HORIGUCHI NAOYA(堀口 直也) wrote:
On Tue, Aug 09, 2022 at 07:18:13PM +0800, Kefeng Wang wrote:
Since commit 5d1fd5dc877b ("mm,hwpoison: introduce MF_MSG_UNSPLIT_THP"),
the action_result(,MF_MSG_UNSPLIT_THP,) called to show memory error event
in memory_failure(), so the pr_info() in try_to_split_thp_page() is only
needed in soft_offline_in_use_page().

Meanwhile this could also fix the unexpected prefix for "thp split failed"
due to commit 96f96763de26 ("mm: memory-failure: convert to pr_fmt()").

Signed-off-by: Kefeng Wang <wangkefeng.wang@xxxxxxxxxx>
# Sorry for my late reply, I'm back from summer holiday...

Acked-by: Naoya Horiguchi <naoya.horiguchi@xxxxxxx>
Thanks Noaya.