[LTP] [PATCH] netstress: explicitly set a thread stack size

Alexey Kodanev alexey.kodanev@oracle.com
Fri Nov 27 10:15:02 CET 2020


On 26.11.2020 18:03, Cyril Hrubis wrote:
> Hi!
>> I'm reluctant to use a static value here as max_msg_len may be modified
>> by command line arguments.
> 
> Wouldn't it be easier to use malloc() instead of putting large data
> structures on the stack and working around that by increasing the
> limits?

In the current server implementation it would hurt performance, so
I assume it would also require to make a memory/thread-pool...


More information about the ltp mailing list