[Linux-ia64] [PATCH] Increase size of user stack

From: Martin Hicks <mort_at_wildopensource.com>
Date: 2003-05-06 04:18:52
Hello,

The current user stack size limit of 2GB is not big enough for large 
SMP or SSI clusters.  The following patch increases this size from 
2GB to 512GB.  The new size is negotiable, but right now SGI has 
programs that require over 100GB of stack size on a 64 processor 
machine.  Setting the user stack size to 512GB seems like 
a reasonable thing to do for future growth.

The patch is against 2.4.21-bk but it applies against 2.5 as well.

Comments?
mh

-- 
Wild Open Source Inc.                  mort@wildopensource.com


===== include/asm-ia64/a.out.h 1.4 vs edited =====
--- 1.4/include/asm-ia64/a.out.h	Thu Feb 28 06:57:29 2002
+++ edited/include/asm-ia64/a.out.h	Mon May  5 16:39:03 2003
@@ -32,7 +32,7 @@
 #ifdef __KERNEL__
 # include <asm/page.h>
 # define STACK_TOP	(0x6000000000000000UL + (1UL << (4*PAGE_SHIFT - 12)) - PAGE_SIZE)
-# define IA64_RBS_BOT	(STACK_TOP - 0x80000000L + PAGE_SIZE)	/* bottom of reg. backing store */
+# define IA64_RBS_BOT	(STACK_TOP - 0x8000000000UL + PAGE_SIZE)	/* bottom of reg. backing store */
 #endif
 
 #endif /* _ASM_IA64_A_OUT_H */
Received on Mon May 05 11:19:05 2003

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:14 EST