Re: [PATCH v4 0/3] Optimize folio split in memory failure
From: Andrew Morton
Date: Thu Oct 30 2025 - 23:42:58 EST
On Wed, 29 Oct 2025 21:40:17 -0400 Zi Yan <ziy@xxxxxxxxxx> wrote:
> This patchset is a follow-up of "[PATCH v3] mm/huge_memory: do not change
> split_huge_page*() target order silently."[1] and
> [PATCH v4] mm/huge_memory: preserve PG_has_hwpoisoned if a folio is split
> to >0 order[2], since both are separated out as hotfixes. It improves how
> memory failure code handles large block size(LBS) folios with
> min_order_for_split() > 0. By splitting a large folio containing HW
> poisoned pages to min_order_for_split(), the after-split folios without
> HW poisoned pages could be freed for reuse. To achieve this, folio split
> code needs to set has_hwpoisoned on after-split folios containing HW
> poisoned pages and it is done in the hotfix in [2].
>
> This patchset includes:
> 1. A patch adds split_huge_page_to_order(),
> 2. Patch 2 and Patch 3 of "[PATCH v2 0/3] Do not change split folio target
> order"[3],
Sorry, but best I can tell, none of this tells anyone anything about
this patchset!
Could we please have a [0/N] which provides the usual overview of these
three patches?
Please put yourself in the position of someone reading Linus's tree in
2028 wondering "hm, what does this series do". All this short-term
transient patch-timing development-time stuff is of no interest to
them and is best placed below the ^---$ separator.
Thanks.