[LTP] [PATCH] lib/tst_test.c: add *cleanup() before exit

Li Wang liwang@redhat.com
Tue Nov 9 13:02:15 CET 2021


On Tue, Nov 9, 2021 at 6:32 PM Cyril Hrubis <chrubis@suse.cz> wrote:

> Hi!
> > If we run the LTP testcases Concurrently, this might trigger the oom
> > killer to kill the library process before the main process exit, and
> > it might fill up the tmpfs through a long time running.
>
> Then I guess we may as well adjust the oom_score for the test library
> process so that it's less likely to end up being killed.
>

+1

And we have to guarantee that oom_score doesn't be
inherited by any test case. Otherwise, it will break our
OOM tests.

-- 
Regards,
Li Wang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20211109/e5f3e374/attachment.htm>


More information about the ltp mailing list