This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] BZ 6973, 6976: Correct stack size and guard sizecomputations for new threads
- From: Paul Pluzhnikov <ppluzhnikov at google dot com>
- To: Siddhesh Poyarekar <siddhesh at redhat dot com>
- Cc: libc-alpha at sourceware dot org, "Carlos O'Donell" <carlos at systemhalted dot org>
- Date: Mon, 21 May 2012 22:56:40 -0700
- Subject: Re: [PATCH] BZ 6973, 6976: Correct stack size and guard sizecomputations for new threads
- References: <20120522103736.52efcbf4@spoyarek>
On Mon, May 21, 2012 at 10:07 PM, Siddhesh Poyarekar
<siddhesh@redhat.com> wrote:
> 2012-05-22 ?Siddhesh Poyarekar ?<siddhesh@redhat.com>
>
> ? ? ? ?[BZ #6973]
> ? ? ? ?[BZ #6976]
> ? ? ? ?* Makefile (tests): Add new test case target.
> ? ? ? ?* allocatestack.c (allocate_stack): Align request size upwards
> ? ? ? ?to __static_tls_align. Allocate additional space for guard.
> ? ? ? ?* descr.h (struct pthread): Mention that reported_guardsize is
> ? ? ? ?unused.
> ? ? ? ?* pthread_getattr_np.c (pthread_getattr_np): Use
> ? ? ? ?pthread->guardsize value to return guardsize. Return stacksize
> ? ? ? ?after reducing guardsize.
> ? ? ? ?* tst-attr-stack.c: New test case.
This is closely related to BZ #11787, which Carlos has been looking at.
--
Paul Pluzhnikov