mm-hugepages-add-hugetlb-vma-mremap-test.patch removed from -mm tree
The patch titled
Subject: mm, hugepages: add hugetlb vma mremap() test
has been removed from the -mm tree. Its filename was
mm-hugepages-add-hugetlb-vma-mremap-test.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Mina Almasry <[email protected]>
Subject: mm, hugepages: add hugetlb vma mremap() test
[[email protected]: v8]
[[email protected]: remove duplicated include in hugepage-mremap]
Signed-off-by Mina Almasry <[email protected]>
Signed-off-by Wan Jiabing <[email protected]>
Acked-by Mike Kravetz <[email protected]>
Cc Ken Chen <[email protected]>
Cc Chris Kennelly <[email protected]>
Cc Michal Hocko <[email protected]>
Cc Vlastimil Babka <[email protected]>
Cc Kirill Shutemov <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
tools/testing/selftests/vm/.gitignore | 1 tools/testing/selftests/vm/Makefile | 1 tools/testing/selftests/vm/hugepage-mremap.c | 160 +++++++++++++++++ tools/testing/selftests/vm/run_vmtests.sh | 11 + 4 files changed, 173 insertions(+)
tools/testing/selftests/vm/.gitignore renamed from tools/testing/selftests/vm/.gitignore~mm-hugepages-add-hugetlb-vma-mremap-test +1 -0
@@ -1,5 +1,6 @@ # SPDX-License-Identifier: GPL-2.0-only hugepage-mmap +hugepage-mremap hugepage-shm khugepaged map_hugetlb
tools/testing/selftests/vm/hugepage-mremap.c new file +160 -0
160 lines not on this page · raw message
tools/testing/selftests/vm/Makefile renamed from tools/testing/selftests/vm/Makefile~mm-hugepages-add-hugetlb-vma-mremap-test +1 -0
@@ -29,6 +29,7 @@ TEST_GEN_FILES = compaction_test TEST_GEN_FILES += gup_test TEST_GEN_FILES += hmm-tests TEST_GEN_FILES += hugepage-mmap +TEST_GEN_FILES += hugepage-mremap TEST_GEN_FILES += hugepage-shm TEST_GEN_FILES += khugepaged TEST_GEN_FILES += madv_populate
tools/testing/selftests/vm/run_vmtests.sh renamed from tools/testing/selftests/vm/run_vmtests.sh~mm-hugepages-add-hugetlb-vma-mremap-test +11 -0
@@ -108,6 +108,17 @@ else echo "[PASS]" fi +echo "-----------------------" +echo "running hugepage-mremap" +echo "-----------------------" +./hugepage-mremap +if [ $? -ne 0 ]; then + echo "[FAIL]" + exitcode=1 +else + echo "[PASS]" +fi + echo "NOTE: The above hugetlb tests provide minimal coverage. Use" echo " https://github.com/libhugetlbfs/libhugetlbfs.git for" echo " hugetlb regression testing."
_
Patches currently in -mm which might be from [email protected] are