This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug nptl/22636] PTHREAD_STACK_MIN is too small on x86-64
- From: "carlos at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Wed, 20 Dec 2017 15:33:23 +0000
- Subject: [Bug nptl/22636] PTHREAD_STACK_MIN is too small on x86-64
- Auto-submitted: auto-generated
- References: <bug-22636-131@http.sourceware.org/bugzilla/>
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.