From: Cyril Hrubis Date: Thu, 26 Nov 2020 16:03:49 +0100 Subject: [LTP] [PATCH] netstress: explicitly set a thread stack size In-Reply-To: References: Message-ID: <20201126150349.GB4646@yuki.lan> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ltp@lists.linux.it 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