[LTP] [PATCH] tst_pollute_memory(): Set minimal safety margin to 64MB

Martin Doucha mdoucha@suse.cz
Wed Jan 20 18:07:15 CET 2021


On 20. 01. 21 18:04, Naresh Kamboju wrote:
> On Wed, 20 Jan 2021 at 20:35, Cyril Hrubis <chrubis@suse.cz> wrote:
>>>>
>>>> So it looks like 64MB is not enough in your case.
>>>>
>>>> Does it work with 128MB or 256MB?
>>>>
>>>> i.e.:
>>>>
>>>> safety = MAX(4096 * SAFE_SYSCONF(_SC_PAGESIZE), 128 * 1024 * 1024);
> 
> After changing to 128MB the test got PASS with overcommit_memory 0 on x86_64.

OK, let's go with 128MB then.

-- 
Martin Doucha   mdoucha@suse.cz
QA Engineer for Software Maintenance
SUSE LINUX, s.r.o.
CORSO IIa
Krizikova 148/34
186 00 Prague 8
Czech Republic


More information about the ltp mailing list