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

Richard Palethorpe
2022-12-20T12:49:16Z

Hello,

Merged, Thanks!

Tarun Sahu <tsahu@linux.ibm.com> writes:

> V2:
> 1. Added linux bug fix commit tag in testcases.
> 2. Asthetics changes in [PATCH 1/8].
> 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 | 92 +++++++
> .../kernel/mem/hugetlb/hugemmap/Makefile | 1 +
> .../kernel/mem/hugetlb/hugemmap/hugemmap13.c | 126 +++++++++
> .../kernel/mem/hugetlb/hugemmap/hugemmap14.c | 159 ++++++++++++
> .../kernel/mem/hugetlb/hugemmap/hugemmap15.c | 243 ++++++++++++++++++
> .../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 +++++++++++
> 12 files changed, 1134 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

--
Thank you,
Richard.