[LTP] [PATCH] lib: use TCONF if hpage reserve failed in retry

Jan Stancek jstancek@redhat.com
Tue May 26 10:58:31 CEST 2020



----- Original Message -----
> Test still easy to get fail in hpages reserving (only 80% of
> max_hpages) because of memory fragmentation.
>   
>   tst_hugepage.c:46: BROK: nr_hugepages = 171, but expect 255
>    
> But it seems unkind and useless to exit with TBROK when failed
> in hpage reserve retrying. This patch proposes to use TCONF for
> better log review.
> 
> Signed-off-by: Li Wang <liwang@redhat.com>
> Cc: Jan Stancek <jstancek@redhat.com>

Acked-by: Jan Stancek <jstancek@redhat.com>



More information about the ltp mailing list