diff options
author | Michael Neuling <[email protected]> | 2010-02-22 12:44:24 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2010-02-22 19:50:34 -0800 |
commit | a17e18790a8c47113a73139d54a375dc9ccd8f08 (patch) | |
tree | 2f85b0265e004826d76614f27c133063499b855e /tools/perf/util/trace-event-scripting.c | |
parent | 89f3f2199084a160a3a45fa6d9af235696321758 (diff) |
fs/exec.c: fix initial stack reservation
803bf5ec259941936262d10ecc84511b76a20921 ("fs/exec.c: restrict initial
stack space expansion to rlimit") attempts to limit the initial stack to
20*PAGE_SIZE. Unfortunately, in attempting ensure the stack is not
reduced in size, we ended up not changing the stack at all.
This size reduction check is not necessary as the expand_stack call does
this already.
This caused a regression in UML resulting in most guest processes being
killed.
Signed-off-by: Michael Neuling <[email protected]>
Reviewed-by: KOSAKI Motohiro <[email protected]>
Acked-by: WANG Cong <[email protected]>
Cc: Anton Blanchard <[email protected]>
Cc: Oleg Nesterov <[email protected]>
Cc: James Morris <[email protected]>
Cc: Serge Hallyn <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Cc: Jouni Malinen <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions