Re: [PATCH v3 3/4] selftests: mm: implement the mTHP-sized hugepage check helpers

Zi Yan <[email protected]>
Newsgroups org.kernel.vger.linux-kselftest,org.kernel.vger.linux-kernel,org.kvack.linux-mm
Message-ID <[email protected]>
On 5 Aug 2026, at 23:34, Baolin Wang wrote:

> Implement mTHP-sized hugepage checking helpers using gather_folio_orders().
> Also rename the existing PMD-sized huge page check function to
> __check_pmd_huge() for clarity.
>
> Reviewed-by: Nico Pache (Red Hat) <[email protected]>
> Tested-by: Nico Pache (Red Hat) <[email protected]>
> Acked-by: Kiryl Shutsemau (Meta) <[email protected]>
> Signed-off-by: Baolin Wang <[email protected]>
> ---
>  tools/testing/selftests/mm/vm_util.c | 76 ++++++++++++++++++++++++++--
>  1 file changed, 72 insertions(+), 4 deletions(-)
>
LGTM.

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.