]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Revert git commit db90a4844fc2f0eb7d6a45a317d9e625cca370e8
authorryanarn <ryanarn@igoo.rchland.ibm.com>
Fri, 1 Jul 2011 14:20:52 +0000 (09:20 -0500)
committerryanarn <ryanarn@igoo.rchland.ibm.com>
Fri, 1 Jul 2011 14:20:52 +0000 (09:20 -0500)
ChangeLog
nptl/sysdeps/unix/sysv/linux/aio_misc.h

index e36b8085afc355a74ccb50780528bd8efdfe14a4..9ad4d2e1b38e94b8892ac1f7c1aa4cbfde9180c2 100644 (file)
--- 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  <rsa@linux.vnet.ibm.com>
-
-       * 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  <azanella@linux.vnet.ibm.com>
 
        * sysdeps/powerpc/fpu/e_hypot.c: optimizations for POWER5 and POWER6.
index a692b50e49fb2546d89f3a9bd8ffc29790e1e1d4..406d96e86563e7db2dc690da62c2131a273915d3 100644 (file)
@@ -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.  */