Skip to content
Commit e0d8898d authored by John David Anglin's avatar John David Anglin Committed by Helge Deller
Browse files

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: default avatarJohn David Anglin <dave.anglin@bell.net>
Reviewed-by: default avatarCarlos O'Donell <carlos@systemhalted.org>
Cc: stable@vger.kernel.org # 3.14
Signed-off-by: default avatarHelge Deller <deller@gmx.de>
parent 455c6fdb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment