diff options
author | John David Anglin <dave.anglin@bell.net> | 2014-04-27 16:20:47 -0400 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2014-05-01 19:28:44 +0200 |
commit | e0d8898d76a785453bfaf6cd08b830a7d5189f78 (patch) | |
tree | 5b964adcc5e69f4874e1e45379b0754d1f0b6a82 | |
parent | 455c6fdbd219161bd09b1165f11699d6d73de11c (diff) | |
download | lwn-e0d8898d76a785453bfaf6cd08b830a7d5189f78.tar.gz lwn-e0d8898d76a785453bfaf6cd08b830a7d5189f78.zip |
parisc: remove _STK_LIM_MAX override
There are only a couple of architectures that override _STK_LIM_MAX to
a non-infinity value. This changes the stack allocation semantics in
subtle ways. For example, GNU make changes its stack allocation to the
hard maximum defined by _STK_LIM_MAX. As a results, threads executed
by processes running under make are allocated a stack size of
_STK_LIM_MAX rather than a sensible default value. This causes various
thread stress tests to fail when they can't muster more than about 50
threads.
The attached change implements the default behavior used by the
majority of architectures.
Signed-off-by: John David Anglin <dave.anglin@bell.net>
Reviewed-by: Carlos O'Donell <carlos@systemhalted.org>
Cc: stable@vger.kernel.org # 3.14
Signed-off-by: Helge Deller <deller@gmx.de>
-rw-r--r-- | arch/parisc/include/uapi/asm/resource.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/parisc/include/uapi/asm/resource.h b/arch/parisc/include/uapi/asm/resource.h index 8b06343b62ed..090483c47dbb 100644 --- a/arch/parisc/include/uapi/asm/resource.h +++ b/arch/parisc/include/uapi/asm/resource.h @@ -1,7 +1,6 @@ #ifndef _ASM_PARISC_RESOURCE_H #define _ASM_PARISC_RESOURCE_H -#define _STK_LIM_MAX 10 * _STK_LIM #include <asm-generic/resource.h> #endif |