aboutsummaryrefslogtreecommitdiff
path: root/fs/open.c
diff options
context:
space:
mode:
authorJohn David Anglin <dave.anglin@bell.net>2014-04-27 16:20:47 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-05-31 13:20:29 -0700
commit7147ad6410de7f330650e47b198815fe0d907a65 (patch)
tree8ce3d802acf1226c01a80fa6e6deb0c9b189a044 /fs/open.c
parent3e7b54d984d455fe779c481972384082af1146c6 (diff)
parisc: remove _STK_LIM_MAX override
commit e0d8898d76a785453bfaf6cd08b830a7d5189f78 upstream. 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> Signed-off-by: Helge Deller <deller@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/open.c')
0 files changed, 0 insertions, 0 deletions