[Bug nptl/22636] PTHREAD_STACK_MIN is too small on x86-64
carlos at redhat dot com
sourceware-bugzilla@sourceware.org
Wed Dec 20 21:03:00 GMT 2017
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.
More information about the Glibc-bugs
mailing list