local-libpthread-stacksize
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Sat, 3 Mar 2018 10:47:56 +0000 (10:47 +0000)
committerAurelien Jarno <aurel32@debian.org>
Sat, 3 Mar 2018 10:47:56 +0000 (10:47 +0000)
Set the default stack size to 8MiB like on Linux, to avoid surprises
with packages which assume the Linuxish default.

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name local-libpthread-stacksize.diff

libpthread/sysdeps/mach/hurd/pt-sysdep.h

index 35912a357fc904444c39cc6a5ef838a7dfc74047..e5829978dc6bd6e68bfadb3fde07d9d3d99f5477 100644 (file)
@@ -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;      \