[LTP] [PATCH v6 1/4] Hugetlb: Add new tst_test options for hugeltb test support

Tarun Sahu tsahu@linux.ibm.com
Thu Nov 3 10:31:08 CET 2022


Hello, 
Thanks for reviewing.

I am thinking of adding following lines in "lib/hugetlb.h"

#define HUGEPAGE_TOTAL "HugePages_Total:"
#define HUGEPAGE_FREE "HugePages_Total:"
#define HUGEPAGE_RSVD "HugePages_Total:"
#define HUGEPAGE_Surp "HugePages_Total:"

There are all test that uses, TOTAL, MANY that uses FREE, few RSVD, SURP.
If we change it now, we can update this series now and, proceed further for
series of next tests.

What do you think?

On Nov 03 2022, Li Wang wrote:
> Tarun Sahu <tsahu@linux.ibm.com> wrote:
> 
> Most of libhugetlbfs test require mounted hugetlbfs.
> >
> > Here, this patch adds a new field in tst_test struct(include/tst_test.h)
> > which user can set if the test requires mounted hugetlbfs. Also, this
> > patch added support to create the unlinked file in the provided dirpath.
> >
> > Signed-off-by: Tarun Sahu <tsahu@linux.ibm.com>
> >
> 
> 
> Thanks for the patiently iteration. This looks pretty good.
> 
> Reviewed-by: Li Wang <liwang@redhat.com>
> 
> -- 
> Regards,
> Li Wang

> 
> -- 
> Mailing list info: https://lists.linux.it/listinfo/ltp



More information about the ltp mailing list