[LTP] [PATCH 0/13][PART 4] Hugetlb:Migrating the libhugetlbfs tests
Tarun Sahu
tsahu@linux.ibm.com
Sun Dec 25 16:42:00 CET 2022
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 | 104 ++++++++
.../kernel/mem/hugetlb/hugemmap/hugemmap20.c | 88 +++++++
.../kernel/mem/hugetlb/hugemmap/hugemmap21.c | 131 ++++++++++
.../kernel/mem/hugetlb/hugemmap/hugemmap22.c | 104 ++++++++
.../kernel/mem/hugetlb/hugemmap/hugemmap23.c | 244 ++++++++++++++++++
.../kernel/mem/hugetlb/hugemmap/hugemmap24.c | 212 +++++++++++++++
.../kernel/mem/hugetlb/hugemmap/hugemmap25.c | 146 +++++++++++
.../kernel/mem/hugetlb/hugemmap/hugemmap26.c | 131 ++++++++++
.../kernel/mem/hugetlb/hugemmap/hugemmap27.c | 136 ++++++++++
.../kernel/mem/hugetlb/hugemmap/hugemmap28.c | 74 ++++++
.../kernel/mem/hugetlb/hugemmap/hugemmap29.c | 115 +++++++++
.../kernel/mem/hugetlb/hugemmap/hugemmap30.c | 85 ++++++
.../kernel/mem/hugetlb/hugemmap/hugemmap31.c | 84 ++++++
15 files changed, 1680 insertions(+)
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