[LTP] [PATCH 1/2] lib: add .min_mem_avail in tst_test struct
Jan Stancek
jstancek@redhat.com
Wed Feb 9 11:53:53 CET 2022
On Wed, Feb 9, 2022 at 9:57 AM Li Wang <liwang@redhat.com> wrote:
>
> As the name implies, this new field is mainly to set the minimum size
> of MemAvailable for LTP testcase. If system available memory are less
> than .min_mem_avail, test will be exit with TCONF.
>
> And, it also helps to reduce OOM occurring in test parallel run. Due
> to running more than one process that consumes a significant amount
> of memory at the same time.
>
> Signed-off-by: Li Wang <liwang@redhat.com>
Acked-by: Jan Stancek <jstancek@redhat.com>
More information about the ltp
mailing list