Skip to content

selftests/vm: Drop hugetlb mntpoint in run_vmtests.sh

Peter Xu linux-mm lkml 2 versions – Applied

Status from this message: [merged mm-stable] selftests-vm-drop-mnt-point-for-hugetlb-in-run_vmtestssh.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 0 repliesApplied 4/4
  2. v14 patches 4 repliesSuperseded

Changes in v2 from the cover letter

- Add r-b for Axel
- Patch 1:
- Changed subject to "selftests/vm: Use memfd for uffd hugetlb tests"
- Touch up example to reflect the cmdline change [Axel]

Patches in v2 All 4 applied

#Subject and filesSizeRepliesApplied
1/4selftests/vm: Use memfd for uffd hugetlb teststools/testing/selftests/vm/userfaultfd.c+21 -410 repliesApplied
2/4selftests/vm: Use memfd for hugetlb-madvise testtools/testing/selftests/vm/hugetlb-madvise.c+3 -90 repliesApplied
3/4selftests/vm: Use memfd for hugepage-mremap testtools/testing/selftests/vm/hugepage-mremap.c+9 -120 repliesApplied
4/4selftests/vm: Drop mnt point for hugetlb in run_vmtests.shtools/testing/selftests/vm/run_vmtests.sh+3 -150 repliesApplied

Reviews trailers per patch

2 of 4 patches have a Reviewed-by or Acked-by.

PatchAxel Rasmussen
1/4R-b
2/4
3/4
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/4] selftests/vm: Drop hugetlb mntpoint in run_vmtests.sh

v2:
- Add r-b for Axel
- Patch 1:
- Changed subject to "selftests/vm: Use memfd for uffd hugetlb tests"
- Touch up example to reflect the cmdline change [Axel]

Since I started working on patch 1 when debugging the race anyway, I cleaned it up so we can use the same memfd for both hugetlb and shmem which is cleaner.

Then I figured it's not hard if with patch 1 to replace all the file-based test to use memfd for hugetlbb so I did. Then patch 4 dropped the hugetlb mntpoint for run_vmtests.sh.

Please have a look, thanks.

Peter Xu (4):
selftests/vm: Use memfd for uffd hugetlb tests selftests/vm: Use memfd for hugetlb-madvise test selftests/vm: Use memfd for hugepage-mremap test selftests/vm: Drop mnt point for hugetlb in run_vmtests.sh

 tools/testing/selftests/vm/hugepage-mremap.c | 21 +++----
 tools/testing/selftests/vm/hugetlb-madvise.c | 12 +---
 tools/testing/selftests/vm/run_vmtests.sh    | 18 +-----
 tools/testing/selftests/vm/userfaultfd.c     | 62 +++++++-------------
 4 files changed, 36 insertions(+), 77 deletions(-)
Signature · 1 line
2.37.3