Skip to contentSkip to conversation

Remove stack hard limit on ia64

PATCH In review Olaf Hering 3 participants 3 messages Feb 16, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Remove stack hard limit on ia64

From: [email protected]

Un-Breaks pthreads, since Oct 2003.

---
 include/asm-ia64/resource.h |    1 -
 1 file changed, 1 deletion(-)
include/asm-ia64/resource.h +0 -1
Index: linux-2.6/include/asm-ia64/resource.h
===================================================================
@@ -2,7 +2,6 @@
 #define _ASM_IA64_RESOURCE_H
 
 #include <asm/ustack.h>
-#define _STK_LIM_MAX	DEFAULT_USER_STACK_SIZE
 #include <asm-generic/resource.h>
 
 #endif /* _ASM_IA64_RESOURCE_H */
#1 lore raw
Quoted 4 lines · On Fri, 16 Feb 2007 23:06:54 +0100 Olaf Hering <[email protected]> wrote:

From: [email protected]

Un-Breaks pthreads, since Oct 2003.

Oh come on, that's not a changelog. I refuse to believe that nobody has used pthreads on ia64 for the past three years.

include/asm-ia64/resource.h line 7

Quoted 12 lines

Index: linux-2.6/include/asm-ia64/resource.h =================================> --- linux-2.6.orig/include/asm-ia64/resource.h +++ linux-2.6/include/asm-ia64/resource.h

include/asm-ia64/resource.h +0 -1
@@ -2,7 +2,6 @@
 #define _ASM_IA64_RESOURCE_H
 
 #include <asm/ustack.h>
-#define _STK_LIM_MAX	DEFAULT_USER_STACK_SIZE
 #include <asm-generic/resource.h>
 
 #endif /* _ASM_IA64_RESOURCE_H */

Please provide a complete description of the problem which this patch is fixing, and a complete description of how the patch fixes it.

#2 lore raw
In reply to Olaf Hering
Quoted 3 lines · Olaf Hering

From: [email protected]

Un-Breaks pthreads, since Oct 2003.

why aren't you using /etc/security/limits.conf?
I think the stack limit can be set as big as 8TB on ia64 with default 16KB page size.

- Ken