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

Re: [PATCH] BZ 6973, 6976: Correct stack size and guard sizecomputations for new threads


On Mon, 21 May 2012 22:56:40 -0700, Paul wrote:

> 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.
> 

Thanks for pointing me to that bz. I found a few problems with my patch
while reading through the bz and the specification, but I'll let this
drop since Carlos is already working on a comprehensive fix for this.
Maybe we should mark the bzs above as duplicate of 11787?

Regards,
Siddhesh


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