This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: nptl stack size


Matthieu CASTET a écrit :
Matthieu CASTET a écrit :
Hi,


Does somebody know why nptl implementation does that ?
I have read https://bugzilla.redhat.com/show_bug.cgi?id=435337 and I doesn't agree.

There no way for the programmer to know the real size of the stack.
Even if we know that the guard size is in the stack, we don't know the size used by tls (or internal nptl usage) at the begining of the stack. And this can be big : several KB.



Matthieu



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]