[LTP] [PATCH 0/8][PART 3] Hugetlb:Migrating the libhugetlbfs tests

Tarun Sahu
2022-12-01T12:29:10Z

-- resending as a fresh series, [3] was sent mistakenly in reply to [2].

Hi,
This patch series is in continuation to part [1] and part [2]
This series include 8 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/20221201120248.139396-1-tsahu@linux.ibm.com/
Tarun Sahu (8):
Hugetlb: Migrating libhugetlbfs fork-cow
Hugetlb: Migrating libhugetlbfs huge_at_4GB_normal_below
Hugetlb: Migrating libhugetlbfs huge_below_4GB_normal_above
Hugetlb: Migrating libhugetlbfs icache-hygiene
Hugetlb: Migrating libhugetlbfs madvise_reserve
Hugetlb: Migrating libhugetlbfs map_high_truncate_2
Hugetlb: Migrating libhugetlbfs misalign
Hugetlb: Migrating libhugetlbfs misaligned_offset

runtest/hugetlb | 9 +
testcases/kernel/mem/.gitignore | 8 +
.../kernel/mem/hugetlb/hugefork/Makefile | 10 +
.../kernel/mem/hugetlb/hugefork/hugefork01.c | 108 ++++++++
.../kernel/mem/hugetlb/hugemmap/hugemmap13.c | 122 +++++++++
.../kernel/mem/hugetlb/hugemmap/hugemmap14.c | 156 ++++++++++++
.../kernel/mem/hugetlb/hugemmap/hugemmap15.c | 239 ++++++++++++++++++
.../kernel/mem/hugetlb/hugemmap/hugemmap16.c | 83 ++++++
.../kernel/mem/hugetlb/hugemmap/hugemmap17.c | 103 ++++++++
.../kernel/mem/hugetlb/hugemmap/hugemmap18.c | 153 +++++++++++
.../kernel/mem/hugetlb/hugemmap/hugemmap19.c | 147 +++++++++++
11 files changed, 1138 insertions(+)
create mode 100644 testcases/kernel/mem/hugetlb/hugefork/Makefile
create mode 100644 testcases/kernel/mem/hugetlb/hugefork/hugefork01.c
create mode 100644 testcases/kernel/mem/hugetlb/hugemmap/hugemmap13.c
create mode 100644 testcases/kernel/mem/hugetlb/hugemmap/hugemmap14.c
create mode 100644 testcases/kernel/mem/hugetlb/hugemmap/hugemmap15.c
create mode 100644 testcases/kernel/mem/hugetlb/hugemmap/hugemmap16.c
create mode 100644 testcases/kernel/mem/hugetlb/hugemmap/hugemmap17.c
create mode 100644 testcases/kernel/mem/hugetlb/hugemmap/hugemmap18.c
create mode 100644 testcases/kernel/mem/hugetlb/hugemmap/hugemmap19.c

--
2.31.1