LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] Remove stack hard limit on ia64
@ 2007-02-16 22:06 Olaf Hering
  2007-02-16 22:48 ` Andrew Morton
  2007-02-16 23:16 ` Ken Chen
  0 siblings, 2 replies; 3+ messages in thread
From: Olaf Hering @ 2007-02-16 22:06 UTC (permalink / raw)
  To: Andrew Morton, linux-kernel, linux-ia64

From: schwab@suse.de

Un-Breaks pthreads, since Oct 2003.


Signed-off-by: Olaf Hering <olaf@aepfle.de>

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Remove stack hard limit on ia64
  2007-02-16 22:06 [PATCH] Remove stack hard limit on ia64 Olaf Hering
@ 2007-02-16 22:48 ` Andrew Morton
  2007-02-16 23:16 ` Ken Chen
  1 sibling, 0 replies; 3+ messages in thread
From: Andrew Morton @ 2007-02-16 22:48 UTC (permalink / raw)
  To: Olaf Hering; +Cc: linux-kernel, linux-ia64, schwab

On Fri, 16 Feb 2007 23:06:54 +0100
Olaf Hering <olaf@aepfle.de> wrote:

> From: schwab@suse.de
> 
> 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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Remove stack hard limit on ia64
  2007-02-16 22:06 [PATCH] Remove stack hard limit on ia64 Olaf Hering
  2007-02-16 22:48 ` Andrew Morton
@ 2007-02-16 23:16 ` Ken Chen
  1 sibling, 0 replies; 3+ messages in thread
From: Ken Chen @ 2007-02-16 23:16 UTC (permalink / raw)
  To: Olaf Hering; +Cc: Andrew Morton, linux-kernel, linux-ia64

On 2/16/07, Olaf Hering <olaf@aepfle.de> wrote:
> From: schwab@suse.de
>
> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-02-16 23:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-16 22:06 [PATCH] Remove stack hard limit on ia64 Olaf Hering
2007-02-16 22:48 ` Andrew Morton
2007-02-16 23:16 ` Ken Chen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).