From 8ff7fa1ab2f28cde64f5337dc4b6a984c41ced27 Mon Sep 17 00:00:00 2001 From: ryanarn Date: Fri, 1 Jul 2011 09:20:52 -0500 Subject: Revert git commit db90a4844fc2f0eb7d6a45a317d9e625cca370e8 --- ChangeLog | 7 ------- nptl/sysdeps/unix/sysv/linux/aio_misc.h | 5 ++--- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/ChangeLog b/ChangeLog index e36b8085af..9ad4d2e1b3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -7,13 +7,6 @@ freeing static tls block. Add debug print. * elf/fl-tls.c (_dl_determine_tlsoffset): Add debug print. -2011-06-30 Ryan S. Arnold - - * nptl/sysdeps/unix/sysv/linux/aio_misc.h - (__aio_create_helper_thread): Set the pthread_attr stacksize to the - default, 0. When previously set to PTHREAD_STACK_MIN, pthread_create - would fail if TLS requirements on the stack exceed that small value. - 2011-06-28 Adhemerval Zanella * sysdeps/powerpc/fpu/e_hypot.c: optimizations for POWER5 and POWER6. diff --git a/nptl/sysdeps/unix/sysv/linux/aio_misc.h b/nptl/sysdeps/unix/sysv/linux/aio_misc.h index a692b50e49..406d96e865 100644 --- a/nptl/sysdeps/unix/sysv/linux/aio_misc.h +++ b/nptl/sysdeps/unix/sysv/linux/aio_misc.h @@ -46,9 +46,8 @@ __aio_create_helper_thread (pthread_t *threadp, void *(*tf) (void *), pthread_attr_init (&attr); pthread_attr_setdetachstate (&attr, PTHREAD_CREATE_DETACHED); - /* Leave the stack size as the default or it can be too small for TLS - * requirements if set to PTHREAD_STACK_MIN. */ - (void) pthread_attr_setstacksize (&attr, 0); + /* The helper thread needs only very little resources. */ + (void) pthread_attr_setstacksize (&attr, PTHREAD_STACK_MIN); /* Block all signals in the helper thread. To do this thoroughly we temporarily have to block all signals here. */ -- cgit 1.4.1