[LTP] [PATCH v2 0/13][PART 4] Hugetlb:Migrating the libhugetlbfs tests
Tarun Sahu
tsahu@linux.ibm.com
Wed Jan 4 13:22:11 CET 2023
Hi,
This patch series is in continuation to part [1], part [2] and part [3].
This series include 13 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/
2. https://lore.kernel.org/all/20221120191533.164848-1-tsahu@linux.ibm.com/
3. https://lore.kernel.org/all/20221220063109.279007-1-tsahu@linux.ibm.com/
Tarun Sahu (13):
Hugetlb: Migrating libhugetlbfs mlock
Hugetlb: Migrating libhugetlbfs mmap-cow
Hugetlb: Migrating libhugetlbfs mmap-gettest
Hugetlb: Migrating libhugetlbfs mprotect
Hugetlb: Migrating libhugetlbfs mremap-fixed-huge-near-normal
Hugetlb: Migrating libhugetlbfs mremap-fixed-normal-near-huge
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 shared
Hugetlb: Migrating libhugetlbfs shm-fork
Hugetlb: Migrating libhugetlbfs mremap-expand-slice-collision
runtest/hugetlb | 13 +
testcases/kernel/mem/.gitignore | 13 +
.../kernel/mem/hugetlb/hugefork/hugefork02.c | 90 +++++++
.../kernel/mem/hugetlb/hugemmap/hugemmap20.c | 86 +++++++
.../kernel/mem/hugetlb/hugemmap/hugemmap21.c | 116 +++++++++
.../kernel/mem/hugetlb/hugemmap/hugemmap22.c | 89 +++++++
.../kernel/mem/hugetlb/hugemmap/hugemmap23.c | 226 ++++++++++++++++++
.../kernel/mem/hugetlb/hugemmap/hugemmap24.c | 186 ++++++++++++++
.../kernel/mem/hugetlb/hugemmap/hugemmap25.c | 118 +++++++++
.../kernel/mem/hugetlb/hugemmap/hugemmap26.c | 103 ++++++++
.../kernel/mem/hugetlb/hugemmap/hugemmap27.c | 121 ++++++++++
.../kernel/mem/hugetlb/hugemmap/hugemmap28.c | 66 +++++
.../kernel/mem/hugetlb/hugemmap/hugemmap29.c | 107 +++++++++
.../kernel/mem/hugetlb/hugemmap/hugemmap30.c | 75 ++++++
.../kernel/mem/hugetlb/hugemmap/hugemmap31.c | 76 ++++++
testcases/kernel/mem/hugetlb/lib/hugetlb.c | 19 ++
testcases/kernel/mem/hugetlb/lib/hugetlb.h | 11 +-
17 files changed, 1514 insertions(+), 1 deletion(-)
create mode 100644 testcases/kernel/mem/hugetlb/hugefork/hugefork02.c
create mode 100644 testcases/kernel/mem/hugetlb/hugemmap/hugemmap20.c
create mode 100644 testcases/kernel/mem/hugetlb/hugemmap/hugemmap21.c
create mode 100644 testcases/kernel/mem/hugetlb/hugemmap/hugemmap22.c
create mode 100644 testcases/kernel/mem/hugetlb/hugemmap/hugemmap23.c
create mode 100644 testcases/kernel/mem/hugetlb/hugemmap/hugemmap24.c
create mode 100644 testcases/kernel/mem/hugetlb/hugemmap/hugemmap25.c
create mode 100644 testcases/kernel/mem/hugetlb/hugemmap/hugemmap26.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
--
2.31.1
More information about the ltp
mailing list