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

Cyril Hrubis chrubis@suse.cz
Thu Nov 26 16:03:49 CET 2020


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?

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list