mbox series

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

Message ID 20221014143921.93887-1-peterx@redhat.com (mailing list archive)
Headers show
Series selftests/vm: Drop hugetlb mntpoint in run_vmtests.sh | expand

Message

Peter Xu Oct. 14, 2022, 2:39 p.m. UTC
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(-)