Skip to contentSkip to conversation

khugepaged-add-self-test.patch removed from -mm tree

merged [email protected] 1 participant 1 message Jun 4, 2020

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: khugepaged: add self test
has been removed from the -mm tree. Its filename was
khugepaged-add-self-test.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: "Kirill A. Shutemov" <[email protected]>
Subject: khugepaged: add self test

Patch series "thp/khugepaged improvements and CoW semantics", v4.

The patchset adds khugepaged selftest (anon-THP only for now), expands cases khugepaged can handle and switches anon-THP copy-on-write handling to 4k.

This patch (of 8):

The test checks if khugepaged is able to recover huge page where we expect to do so. It only covers anon-THP for now.

Currently the test shows few failures. They are going to be addressed by the following patches.

---

 tools/testing/selftests/vm/.gitignore   |    1 
 tools/testing/selftests/vm/Makefile     |    1 
 tools/testing/selftests/vm/khugepaged.c |  952 ++++++++++++++++++++++
 3 files changed, 954 insertions(+)
tools/testing/selftests/vm/.gitignore renamed from tools/testing/selftests/vm/.gitignore~khugepaged-add-self-test +1 -0
@@ -1,6 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0-only
 hugepage-mmap
 hugepage-shm
+khugepaged
 map_hugetlb
 map_populate
 thuge-gen
tools/testing/selftests/vm/khugepaged.c new file +952 -0

952 lines not on this page · raw message

tools/testing/selftests/vm/Makefile renamed from tools/testing/selftests/vm/Makefile~khugepaged-add-self-test +1 -0
@@ -20,6 +20,7 @@ TEST_GEN_FILES += on-fault-limit
 TEST_GEN_FILES += thuge-gen
 TEST_GEN_FILES += transhuge-stress
 TEST_GEN_FILES += userfaultfd
+TEST_GEN_FILES += khugepaged
 
 ifneq (,$(filter $(MACHINE),arm64 ia64 mips64 parisc64 ppc64 ppc64le riscv64 s390x sh64 sparc64 x86_64))
 TEST_GEN_FILES += va_128TBswitch

_

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