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

Li Wang liwang@redhat.com
Thu Nov 3 10:55:23 CET 2022

On Thu, Nov 3, 2022 at 5:33 PM Tarun Sahu <tsahu@linux.ibm.com> wrote:

> 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?

I guess put in the top header file "inlucde/tst_hugepage.h" should be
it provides more scope(for the whole LTP) of use.

I ever thought to combine this hugetlb/lib there, especially for new cases,
it would be easier to maintain only one library for hugetlb.
(and also adding more definitions. e.g.

Li Wang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20221103/9798b8aa/attachment-0001.htm>

More information about the ltp mailing list