Re: [PATCH v2 2/4] selftests: mm: move gather_after_split_folio_orders() into vm_util.c file

From: Nico Pache (Red Hat)

Date: Tue Aug 04 2026 - 16:41:59 EST


> Move gather_after_split_folio_orders() to vm_util.c as a helper function
> in preparation for implementing checks for mTHP collapse. While we are
> at it, rename this function to indicate that it is not only used for
> large folio splits.
>
> No functional changes.
>
> Signed-off-by: Baolin Wang <baolin.wang@xxxxxxxxxxxxxxxxx>

LGTM!

Reviewed-by: Nico Pache (Red Hat) <nico.pache@xxxxxxxxx>

--
Nico Pache (Red Hat) <nico.pache@xxxxxxxxx>