default stack size for threads changed
joakim.tjernlund at transmode.se
Tue Feb 23 17:56:50 EST 2010
Michael Neuling <mikey at neuling.org> wrote on 2010/02/23 02:58:16:
> In message <OF21CCB5A6.CDFDB6C1-ONC12576D2.00430B25-C12576D2.
> 0043C4BB at transmode.se> you wrote:
> > 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.
> > Jocke
> > _______________________________________________
> > Linuxppc-dev mailing list
> > Linuxppc-dev at lists.ozlabs.org
> > https://lists.ozlabs.org/listinfo/linuxppc-dev
More information about the Linuxppc-dev