[LTP] [PATCH v2 3/3] lib: adjust the tmpfs size according to .dev_min_size and MemAvailable

Li Wang liwang@redhat.com
Mon Sep 27 04:39:23 CEST 2021


On Fri, Sep 24, 2021 at 10:23 PM Petr Vorel <pvorel@suse.cz> wrote:

> Hi Li,
>
> Reviewed-by: Petr Vorel <pvorel@suse.cz>
>
> nit: I'd add Fixes: c305a53c5 ("lib: limit the size of tmpfs in LTP")
> if anybody searches on Fixes.
>

Thanks for the review, I added this and pushed it.

Btw, according to Ralph's test (153MB MemAva) result:

* test trigger OOM with mount 32MB tmpfs size
* test PASS with unlimited mount tmpfs size
   (actually, it consume 134MB, from the log)

This is more like a kernel-specific problem but not LTP general issue.

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


More information about the ltp mailing list