[LTP] [PATCH v4 0/7] Hugetlb:Migrating the libhugetlbfs tests
Tarun Sahu
tsahu@linux.ibm.com
Wed Nov 16 12:25:09 CET 2022
Hi,
This patch series is in continuation to first part [1]
This series include 5 more tests taken from libhugetlbfs.
Background:
Libhugetlbfs is not being maintained actively, and some distro is dropping
support for it. There are some tests that are good for testing hugetlb
functionality in kernel. These patches include tests from libhugetlbfs.
ref:
1. https://lore.kernel.org/all/20221104162511.28658-1-tsahu@linux.ibm.com/
v1 -> v2
1. Fixed comments
v2 -> v3
1. Changed from setjmp/longjmp logic to check/return logic in
hugemmap10.c
2. Added a new patch to create support for custom flags in
tst_creat_unlinked api.
3. Added patch to add safe macros for posix_fadvise call.
4. Updated coding asthetics.
5. Added description along with the line of failure in hugemmap10.c
v3 -> v4
1. Removing redundant access call to check if file already exist.
and removing the retry path, as the case is very rare in PATCH[1/7].
Tarun Sahu (7):
Hugetlb: Migrating libhugetlbfs noresv-reserve-resv-page
Hugetlb: Migrating libhugetlbfs noresv-regarded-as-resv
Hugetlb: Migrating libhugetlbfs private
Hugetlb: Migrating libhugetlbfs readahead_reserve
Hugetlb: Migrating libhugetlbfs readback
Hugetlb: Migrating libhugetlbfs shared
Hugetlb: Migrating libhugetlbfs shm-fork
runtest/hugetlb | 7 +
testcases/kernel/mem/.gitignore | 7 +
.../kernel/mem/hugetlb/hugefork/hugefork02.c | 196 ++++++++++++++++++
.../kernel/mem/hugetlb/hugemmap/hugemmap27.c | 166 +++++++++++++++
.../kernel/mem/hugetlb/hugemmap/hugemmap28.c | 107 ++++++++++
.../kernel/mem/hugetlb/hugemmap/hugemmap29.c | 129 ++++++++++++
.../kernel/mem/hugetlb/hugemmap/hugemmap30.c | 120 +++++++++++
.../kernel/mem/hugetlb/hugemmap/hugemmap31.c | 98 +++++++++
.../kernel/mem/hugetlb/hugemmap/hugemmap32.c | 104 ++++++++++
9 files changed, 934 insertions(+)
create mode 100644 testcases/kernel/mem/hugetlb/hugefork/hugefork02.c
create mode 100644 testcases/kernel/mem/hugetlb/hugemmap/hugemmap27.c
create mode 100644 testcases/kernel/mem/hugetlb/hugemmap/hugemmap28.c
create mode 100644 testcases/kernel/mem/hugetlb/hugemmap/hugemmap29.c
create mode 100644 testcases/kernel/mem/hugetlb/hugemmap/hugemmap30.c
create mode 100644 testcases/kernel/mem/hugetlb/hugemmap/hugemmap31.c
create mode 100644 testcases/kernel/mem/hugetlb/hugemmap/hugemmap32.c
--
2.31.1
More information about the ltp
mailing list