]> www.infradead.org Git - users/dwmw2/linux.git/commit
selftests/mm: add tests for splitting pmd THPs to all lower orders
authorZi Yan <ziy@nvidia.com>
Fri, 10 Jan 2025 23:50:28 +0000 (18:50 -0500)
committerAndrew Morton <akpm@linux-foundation.org>
Sun, 26 Jan 2025 04:22:40 +0000 (20:22 -0800)
commitdfe61db4a132f229706dee64045c49144128be91
tree39096a490d72824efd96bbf7d30f84ccfa404373
parent136c5b40e0ad84f4b4a38584089cd565b97f799c
selftests/mm: add tests for splitting pmd THPs to all lower orders

Kernel already supports splitting a folio to any lower order. Test it.

[ziy@nvidia.com: no need to test splitting to order-1]
Link: https://lkml.kernel.org/r/DDA202EA-4664-4F50-A7FD-B00CBB7A624B@nvidia.com
Link: https://lkml.kernel.org/r/20250110235028.96824-2-ziy@nvidia.com
Signed-off-by: Zi Yan <ziy@nvidia.com>
Cc: Alexander Zhu <alexlzhu@fb.com>
Cc: Rik van Riel <riel@surriel.com>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Usama Arif <usamaarif642@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
tools/testing/selftests/mm/split_huge_page_test.c