* default stack size for threads changed
@ 2010-02-22 12:20 Joakim Tjernlund
2010-02-23 1:58 ` Michael Neuling
0 siblings, 1 reply; 4+ messages in thread
From: Joakim Tjernlund @ 2010-02-22 12:20 UTC (permalink / raw)
To: linuxppc-dev
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: default stack size for threads changed
[not found] <OF21CCB5A6.CDFDB6C1-ONC12576D2.00430B25-C12576D2.0043C4BB@LocalDomain>
@ 2010-02-22 12:24 ` Joakim Tjernlund
0 siblings, 0 replies; 4+ messages in thread
From: Joakim Tjernlund @ 2010-02-22 12:24 UTC (permalink / raw)
Cc: linuxppc-dev
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: default stack size for threads changed
2010-02-22 12:20 default stack size for threads changed Joakim Tjernlund
@ 2010-02-23 1:58 ` Michael Neuling
2010-02-23 6:56 ` Joakim Tjernlund
0 siblings, 1 reply; 4+ messages in thread
From: Michael Neuling @ 2010-02-23 1:58 UTC (permalink / raw)
To: Joakim Tjernlund; +Cc: linuxppc-dev, miltonm
In message <OF21CCB5A6.CDFDB6C1-ONC12576D2.00430B25-C12576D2.0043C4BB@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?
It's unlikely but this might be related
803bf5ec259941936262d10ecc84511b76a20921 (post rc7). You'll also need
to grab this http://patchwork.kernel.org/patch/79365/.
Mikey
>
> Jocke
>
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev@lists•ozlabs.org
> https://lists.ozlabs.org/listinfo/linuxppc-dev
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: default stack size for threads changed
2010-02-23 1:58 ` Michael Neuling
@ 2010-02-23 6:56 ` Joakim Tjernlund
0 siblings, 0 replies; 4+ messages in thread
From: Joakim Tjernlund @ 2010-02-23 6:56 UTC (permalink / raw)
To: Michael Neuling; +Cc: linuxppc-dev, miltonm
Michael Neuling <mikey@neuling•org> wrote on 2010/02/23 02:58:16:
>
> In message <OF21CCB5A6.CDFDB6C1-ONC12576D2.00430B25-C12576D2.
> 0043C4BB@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.
>
> Mikey
>
> >
> > Jocke
> >
> > _______________________________________________
> > Linuxppc-dev mailing list
> > Linuxppc-dev@lists•ozlabs.org
> > https://lists.ozlabs.org/listinfo/linuxppc-dev
> >
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-02-23 6:59 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-22 12:20 default stack size for threads changed Joakim Tjernlund
2010-02-23 1:58 ` Michael Neuling
2010-02-23 6:56 ` Joakim Tjernlund
[not found] <OF21CCB5A6.CDFDB6C1-ONC12576D2.00430B25-C12576D2.0043C4BB@LocalDomain>
2010-02-22 12:24 ` Joakim Tjernlund
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox