This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Linuxthreads stack size on ia64


The default thread stack size in linuxthreads is 2MB.  This is pretty
small for a 64 bit system, and on the ia64 this is even divided between
the processor stack and the register stack.  This patch enlages the size
to 64MB on ia64.  This should perhaps be changed for other 64bit targets
as well.

Andreas.

2001-05-10  Andreas Schwab  <schwab@suse.de>

	* sysdeps/ia64/pt-machine.h (STACK_SIZE): Set to 64MB.

--- sysdeps/ia64/pt-machine.h.~1.2.~	Tue Jan  2 10:42:11 2001
+++ sysdeps/ia64/pt-machine.h	Thu May 10 17:47:56 2001
@@ -104,3 +104,6 @@
 
   return ret;
 }
+
+/* The max size of the thread stack segments.  */
+#define STACK_SIZE  (64 * 1024 * 1024)

-- 
Andreas Schwab                                  "And now for something
SuSE Labs                                        completely different."
Andreas.Schwab@suse.de
SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]