[LTP] [PATCH] msgget03: Set custom queue limit

Martin Doucha mdoucha@suse.cz
Tue Sep 20 16:04:00 CEST 2022


On 06. 07. 22 11:14, xuyang2018.jy@fujitsu.com wrote:
> Hi Martin
> 
> I don't have objection for this patch.
> 
> But I think using system custom max value is more meaningful. How about
> setting timeout to 5min, I think it is enough.

The system max value is an arbitrary number that can be increased up to 
complete memory exhaustion. There's not much difference between checking 
the ENOSPC error quickly with low custom limit and running the test for 
2 minutes with the default limit.

> Also shmget03 uses same logic, so I guess we need to modify it too.

shmget03 is significantly faster on all archs, there's no risk of 
timeout at the moment.

-- 
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