Author: sthibault
Date: 2014-09-28 21:54:13 +0000 (Sun, 28 Sep 2014)
New Revision: 6278

Added:
   glibc-package/trunk/debian/patches/hurd-i386/local-libpthread-stacksize.diff
Modified:
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/patches/series
Log:
patches/hurd-i386/local-libpthread-stacksize.diff: New patch to make
libpthread stacks size default to 8MiB like on Linux, to avoid surprises
with packages which assume the Linuxish default.


Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog        2014-09-28 18:32:25 UTC (rev 
6277)
+++ glibc-package/trunk/debian/changelog        2014-09-28 21:54:13 UTC (rev 
6278)
@@ -3,6 +3,9 @@
   [ Samuel Thibault ]
   * patches/hurd-i386/tg-thread-cancel.diff: Update patch from upstream, fixes
     a rare deadlock.
+  * patches/hurd-i386/local-libpthread-stacksize.diff: New patch to make
+    libpthread stacks size default to 8MiB like on Linux, to avoid surprises
+    with packages which assume the Linuxish default.
 
  -- Aurelien Jarno <[email protected]>  Sat, 13 Sep 2014 07:22:45 +0200
 

Added: 
glibc-package/trunk/debian/patches/hurd-i386/local-libpthread-stacksize.diff
===================================================================
--- 
glibc-package/trunk/debian/patches/hurd-i386/local-libpthread-stacksize.diff    
                            (rev 0)
+++ 
glibc-package/trunk/debian/patches/hurd-i386/local-libpthread-stacksize.diff    
    2014-09-28 21:54:13 UTC (rev 6278)
@@ -0,0 +1,19 @@
+Set the default stack size to 8MiB like on Linux, to avoid surprises
+with packages which assume the Linuxish default.
+
+---
+ pt-sysdep.h |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+Index: glibc-2.19/libpthread/sysdeps/mach/hurd/pt-sysdep.h
+===================================================================
+--- glibc-2.19.orig/libpthread/sysdeps/mach/hurd/pt-sysdep.h
++++ glibc-2.19/libpthread/sysdeps/mach/hurd/pt-sysdep.h
+@@ -26,7 +26,7 @@
+ #define _POSIX_THREAD_THREADS_MAX     64
+ 
+ /* The default stack size.  */
+-#define PTHREAD_STACK_DEFAULT (2 * 1024 * 1024)
++#define PTHREAD_STACK_DEFAULT (8 * 1024 * 1024)
+ 
+ #define PTHREAD_SYSDEP_MEMBERS \
+   thread_t kernel_thread;      \

Modified: glibc-package/trunk/debian/patches/series
===================================================================
--- glibc-package/trunk/debian/patches/series   2014-09-28 18:32:25 UTC (rev 
6277)
+++ glibc-package/trunk/debian/patches/series   2014-09-28 21:54:13 UTC (rev 
6278)
@@ -152,6 +152,7 @@
 hurd-i386/cvs-bind_umask.diff
 hurd-i386/submitted-bind_umask2.diff
 hurd-i386/cvs-fork_ss_hang.diff
+hurd-i386/local-libpthread-stacksize.diff
 
 i386/local-biarch.diff
 i386/local-cmov.diff


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: https://lists.debian.org/[email protected]

Reply via email to