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

"Zi Yan" <[email protected]>
Newsgroups gmane.linux.kernel,gmane.linux.kernel.mm
Message-ID <[email protected]>
On Sat Aug 1, 2026 at 2:26 AM EDT, Baolin Wang wrote:
> 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 <[email protected]>
> ---
>  .../selftests/mm/split_huge_page_test.c       | 125 +-----------------
>  tools/testing/selftests/mm/vm_util.c          | 119 +++++++++++++++++
>  tools/testing/selftests/mm/vm_util.h          |   2 +
>  3 files changed, 122 insertions(+), 124 deletions(-)
>

Reviewed-by: Zi Yan <[email protected]>


-- 
Best Regards,
Yan, Zi
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.