[LTP] [PATCH] getrusage03: skip on small RAM system

Li Wang liwang@redhat.com
Tue Feb 8 04:21:31 CET 2022


Cyril Hrubis <chrubis@suse.cz> wrote:


> > Notes:
> >     Ps. I also think we might need .min_mem_[avai|total] field but
> >         not sure if it is really necessary to add that.
>
> Actually this would be very useful from the long term perspective. If we
> ever manage to run tests in parallel the scheduller should make sure
> that we do not hit OOM due to running more than one processe that
> consume significant amount of memory at the same time.
>

Well, sounds useful to avoid OOM in the parallel run.
Hence the .min_mem should gives the requirement of minimal
MemAvailable(but not MemTotal) size on test system.

I will view the whole test to add that when I get a chance.



> Looks good:
>
> Reviewed-by: Cyril Hrubis <chrubis@suse.cz>
>
Pushed (with the typo fix).

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


More information about the ltp mailing list