Skip to contentSkip to conversation

selftests-mm-add-ksm_merge_time-tests.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message Aug 21, 2023

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: selftests: mm: add KSM_MERGE_TIME tests
has been removed from the -mm tree. Its filename was
selftests-mm-add-ksm_merge_time-tests.patch

This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: Ayush Jain <[email protected]>
Subject: selftests: mm: add KSM_MERGE_TIME tests
Date: Fri, 28 Jul 2023 22:11:02 +0530

Add KSM_MERGE_TIME and KSM_MERGE_TIME_HUGE_PAGES tests with size of 100.

./run_vmtests.sh -t ksm
-----------------------------
running ./ksm_tests -H -s 100
-----------------------------

Number of normal pages:    0
Number of huge pages:    50
Total size:    100 MiB
Total time:    0.399844662 s
Average speed:  250.097 MiB/s

[PASS]
-----------------------------
running ./ksm_tests -P -s 100
-----------------------------

Total size:    100 MiB
Total time:    0.451931496 s
Average speed:  221.272 MiB/s

[PASS]

---

 tools/testing/selftests/mm/run_vmtests.sh |    4 ++++
 1 file changed, 4 insertions(+)
tools/testing/selftests/mm/run_vmtests.sh renamed from tools/testing/selftests/mm/run_vmtests.sh~selftests-mm-add-ksm_merge_time-tests +4 -0
@@ -305,6 +305,10 @@ CATEGORY="madv_populate" run_test ./madv
 
 CATEGORY="memfd_secret" run_test ./memfd_secret
 
+# KSM KSM_MERGE_TIME_HUGE_PAGES test with size of 100
+CATEGORY="ksm" run_test ./ksm_tests -H -s 100
+# KSM KSM_MERGE_TIME test with size of 100
+CATEGORY="ksm" run_test ./ksm_tests -P -s 100
 # KSM MADV_MERGEABLE test with 10 identical pages
 CATEGORY="ksm" run_test ./ksm_tests -M -p 10
 # KSM unmerge test

_

Patches currently in -mm which might be from [email protected] are