This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: pthread_attr_setstacksize limitation
- From: Vincent Cassi <cassi at vexcel dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: libc-alpha <libc-alpha at sources dot redhat dot com>
- Date: Tue, 27 Aug 2002 14:43:10 -0600
- Subject: Re: pthread_attr_setstacksize limitation
- References: <3D41C096.BAB68761@vexcel.com> <20020726233821.A20867@sunsite.ms.mff.cuni.cz> <3D41C6BA.4EB3913E@vexcel.com> <20020726180421.O1596@devserv.devel.redhat.com>
> On Fri, Jul 26, 2002 at 04:01:30PM -0600, Vincent Cassi wrote:
> > > It is enough if you just use an {i686,alpha*,sparc*,s390*,ia64}-*-*
> > > configured glibc (on i686 built with --enable-kernel=2.4.1 or later).
> > >
> > > Jakub
> >
> > Thanks for the quick answer but I do not understand what you mean.
> > By enough, do you mean I don't have to use a stack size bigger than 2Mb ?
> > Or do you mean it will be ok if I use a kernel later than 2.4.1. ?
> >
> > BTW, I use a 2.4.19-rcl kernel on a i686.
>
> If you configure glibc with i686-*-linux* --enable-kernel=2.4.1 or later,
> then it will use %gs based threads, which means thread stack sizes are
> no longer limited to 2MB.
>
> Jakub
I have been out for a while, that's why I haven't sent you this email before.
Thanks for all your help. I'm not anymore limited to 2MB of thread stack
sizes.
Now my limitation is 8MB (which is definitely better!) and I'm wondering if
there is a way to have a bigger one?
Or is it a kernel limitation ?
Thank you for your time,
Vincent