Re: [PATCH] Remove stack hard limit on ia64

2007-02-16 Thread Ken Chen

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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] Remove stack hard limit on ia64

2007-02-16 Thread Andrew Morton
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 
> -#define _STK_LIM_MAX DEFAULT_USER_STACK_SIZE
>  #include 
>  
>  #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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH] Remove stack hard limit on ia64

2007-02-16 Thread Olaf Hering
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 
-#define _STK_LIM_MAX   DEFAULT_USER_STACK_SIZE
 #include 
 
 #endif /* _ASM_IA64_RESOURCE_H */
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH] Remove stack hard limit on ia64

2007-02-16 Thread Olaf Hering
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 */
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] Remove stack hard limit on ia64

2007-02-16 Thread Andrew Morton
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.
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] Remove stack hard limit on ia64

2007-02-16 Thread Ken Chen

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
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/