Re: default stack size for threads changed
From: Joakim Tjernlund <hidden>
Date: 2010-02-23 06:59:42
Michael Neuling [off-list ref] wrote on 2010/02/23 02:58:16:
In message <OF21CCB5A6.CDFDB6C1-ONC12576D2.00430B25-C12576D2. 0043C4BB@transmode.se> you wrote:quoted
With current, 2.6.33-rc6, linux the default stack size changed from unlimited to 8MB: # > ulimit -s 8192 This makes NPTL allocate a 8MB stack for each thread that is created. This breaks in our embedded system. Although this can be fixed in our app I wonder if this is intentional?When did this change from unlimited?
Sometime after 2.6.30 since that was the previous kernel we used, but I see now that I read the wrong line. The stack size was 8MB in 2.6.30 too so something else caused the high stack usage.
It's unlikely but this might be related 803bf5ec259941936262d10ecc84511b76a20921 (post rc7). You'll also need to grab this http://patchwork.kernel.org/patch/79365/.
I see, will try. Hope fully I will see an improvement. Thanks.
Mikeyquoted
Jocke _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev