[LTP] [PATCH v3 1/2] lib: extend .request_hugepages to guarantee enough hpages

Petr Vorel pvorel@suse.cz
Mon Jun 6 22:33:07 CEST 2022


Hi Li,

> > diff --git a/lib/newlib_tests/test_zero_hugepage.c b/lib/newlib_tests/test_zero_hugepage.c
> ...
> >  static struct tst_test test = {
> >  	.test_all = do_test,
> > -	.request_hugepages = TST_NO_HUGEPAGES,
> > +	.hugepages = {TST_NO_HUGEPAGES},

> Also comment at the top should be renamed:

> -Tests .request_hugepages = TST_NO_HUGEPAGES
> +Tests .hugepages = {TST_NO_HUGEPAGES}

Except this very minor issue LGTM. Thanks!

Reviewed-by: Petr Vorel <pvorel@suse.cz>

Kind regards,
Petr


More information about the ltp mailing list