[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20221014143921.93887-1-peterx@redhat.com>
Date: Fri, 14 Oct 2022 10:39:17 -0400
From: Peter Xu <peterx@...hat.com>
To: linux-kernel@...r.kernel.org, linux-mm@...ck.org
Cc: Axel Rasmussen <axelrasmussen@...gle.com>,
Andrew Morton <akpm@...ux-foundation.org>, peterx@...hat.com,
Mike Kravetz <mike.kravetz@...cle.com>
Subject: [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(-)
--
2.37.3
Powered by blists - more mailing lists