[folded-merged] selftests-mm-add-tests-for-splitting-pmd-thps-to-all-lower-orders-fix.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The quilt patch titled
     Subject: selftests-mm-add-tests-for-splitting-pmd-thps-to-all-lower-orders-fix
has been removed from the -mm tree.  Its filename was
     selftests-mm-add-tests-for-splitting-pmd-thps-to-all-lower-orders-fix.patch

This patch was dropped because it was folded into selftests-mm-add-tests-for-splitting-pmd-thps-to-all-lower-orders.patch

------------------------------------------------------
From: Zi Yan <ziy@xxxxxxxxxx>
Subject: selftests-mm-add-tests-for-splitting-pmd-thps-to-all-lower-orders-fix
Date: Wed, 15 Jan 2025 21:57:59 -0500

no need to test splitting to order-1

Anonymous memory does not support order-1 folio, so there is no need to
test splitting to order-1.  Kernel will WARN_ONCE for
split_pmd_thp_to_order(1) test and the whole test will fail at that point.

Link: https://lkml.kernel.org/r/DDA202EA-4664-4F50-A7FD-B00CBB7A624B@xxxxxxxxxx
Signed-off-by: Zi Yan <ziy@xxxxxxxxxx>
Cc: Alexander Zhu <alexlzhu@xxxxxx>
Cc: Rik van Riel <riel@xxxxxxxxxxx>
Cc: Shuah Khan <shuah@xxxxxxxxxx>
Cc: Usama Arif <usamaarif642@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 tools/testing/selftests/mm/split_huge_page_test.c |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

--- a/tools/testing/selftests/mm/split_huge_page_test.c~selftests-mm-add-tests-for-splitting-pmd-thps-to-all-lower-orders-fix
+++ a/tools/testing/selftests/mm/split_huge_page_test.c
@@ -481,7 +481,7 @@ int main(int argc, char **argv)
 	if (argc > 1)
 		optional_xfs_path = argv[1];
 
-	ksft_set_plan(1+9+2+9);
+	ksft_set_plan(1+8+2+9);
 
 	pagesize = getpagesize();
 	pageshift = ffs(pagesize) - 1;
@@ -494,7 +494,8 @@ int main(int argc, char **argv)
 	split_pmd_zero_pages();
 
 	for (i = 0; i < 9; i++)
-		split_pmd_thp_to_order(i);
+		if (i != 1)
+			split_pmd_thp_to_order(i);
 
 	split_pte_mapped_thp();
 	split_file_backed_thp();
_

Patches currently in -mm which might be from ziy@xxxxxxxxxx are

selftests-mm-use-selftests-framework-to-print-test-result.patch
selftests-mm-add-tests-for-splitting-pmd-thps-to-all-lower-orders.patch





[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux