2007-02-16 22:06:42

by Olaf Hering

[permalink] [raw]
Subject: [PATCH] Remove stack hard limit on ia64

From: [email protected]

Un-Breaks pthreads, since Oct 2003.


Signed-off-by: Olaf Hering <[email protected]>

---
include/asm-ia64/resource.h | 1 -
1 file changed, 1 deletion(-)

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
@@ -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 */


2007-02-16 22:48:46

by Andrew Morton

[permalink] [raw]
Subject: Re: [PATCH] Remove stack hard limit on ia64

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.

>
> 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
> @@ -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.

2007-02-16 23:16:57

by Ken Chen

[permalink] [raw]
Subject: Re: [PATCH] Remove stack hard limit on ia64

On 2/16/07, Olaf Hering <[email protected]> wrote:
> 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