From: ryanarn Date: Fri, 1 Jul 2011 14:20:52 +0000 (-0500) Subject: Revert git commit db90a4844fc2f0eb7d6a45a317d9e625cca370e8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ff7fa1ab2f28cde64f5337dc4b6a984c41ced27;p=thirdparty%2Fglibc.git Revert git commit db90a4844fc2f0eb7d6a45a317d9e625cca370e8 --- diff --git a/ChangeLog b/ChangeLog index e36b8085afc..9ad4d2e1b38 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 a692b50e49f..406d96e8656 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. */