[LTP] [PATCH v2 2/2] syscalls/msgstress: scale number of processes accodingly to available RAM

Yang Xu xuyang2018.jy@cn.fujitsu.com
Thu Jul 23 08:34:05 CEST 2020


HI Cyril


> Hi!
> The main problem with this patch is that it's doing too much.
Sorry for this. This patch is really unfriendly to the reviewer because 
it is too much.
> 
> The conversion to the new library should be ideally done in a separate
> patch, then we should start working on getting the limits right.
Yes, I will do this as your advise.
> 
> For the limits I would really like to introduce a library function that
> would return how many processes test can run before the system runs out
> of memory then we can build on the top of that and create a library
> function to return now many message queues we can run. As it is the code
> is still copy&pasted between the testcases.
Will do it.
> 
> So please can we do things in smaller, well defined, steps?
Of course.
> 




More information about the ltp mailing list