default stack size for threads changed

Joakim Tjernlund joakim.tjernlund at transmode.se
Mon Feb 22 23:24:19 EST 2010


Joakim Tjernlund/Transmode wrote on 2010/02/22 13:20:12:
>
> 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?
>
>  Jocke

Forgot to mention that timer_create(2) increases the stack with 8MB too.

 Jocke



More information about the Linuxppc-dev mailing list