diff options
author | ryanarn <ryanarn@igoo.rchland.ibm.com> | 2011-07-01 09:20:52 -0500 |
---|---|---|
committer | ryanarn <ryanarn@igoo.rchland.ibm.com> | 2011-07-01 09:20:52 -0500 |
commit | 8ff7fa1ab2f28cde64f5337dc4b6a984c41ced27 (patch) | |
tree | ee5d12432713869f36f3cf8870304e11b53f2a65 | |
parent | 114814b2f6815d6676ce21d612ed84380d7b5c4f (diff) | |
download | glibc-8ff7fa1ab2f28cde64f5337dc4b6a984c41ced27.tar.gz glibc-8ff7fa1ab2f28cde64f5337dc4b6a984c41ced27.tar.xz glibc-8ff7fa1ab2f28cde64f5337dc4b6a984c41ced27.zip |
Revert git commit db90a4844fc2f0eb7d6a45a317d9e625cca370e8
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | 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 <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. 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. */ |