[PATCH] BZ 6973, 6976: Correct stack size and guard size computations for new threads
Paul Pluzhnikov
ppluzhnikov@google.com
Tue May 22 07:49:00 GMT 2012
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
More information about the Libc-alpha
mailing list