This is the mail archive of the glibc-bugs@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]

[Bug nptl/22636] PTHREAD_STACK_MIN is too small on x86-64


https://sourceware.org/bugzilla/show_bug.cgi?id=22636

Carlos O'Donell <carlos at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |carlos at redhat dot com

--- Comment #2 from Carlos O'Donell <carlos at redhat dot com> ---
(In reply to joseph@codesourcery.com from comment #1)
> Remark: increasing PTHREAD_STACK_MIN has in the past been considered to 
> require new symbol versions (see the version handling in 
> pthread_attr_setstack.c and pthread_attr_setstacksize.c).

Agreed, but in this case I think we don't need to increase PTHREAD_STACK_MIN,
but instead just take up less stack with other things e.g. guard pages, and
static TLS.

I have just reviewed the guard page accounting removal from thread stacks, so
if that goes in we will get a full page back for the stack.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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