Michael Neuling
a17e18790a
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 <mikey@neuling.org>
Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Acked-by: WANG Cong <xiyou.wangcong@gmail.com>
Cc: Anton Blanchard <anton@samba.org>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: James Morris <jmorris@namei.org>
Cc: Serge Hallyn <serue@us.ibm.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Jouni Malinen <j@w1.fi>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-02-22 19:50:34 -08:00
..
2010-02-08 17:59:34 -06:00
2009-09-24 07:21:05 -07:00
2010-01-26 22:22:25 -05:00
2009-12-10 15:02:50 +01:00
2009-09-21 15:14:58 +02:00
2009-12-16 07:19:58 -08:00
2010-02-07 03:06:21 -05:00
2010-01-26 22:22:25 -05:00
2010-02-15 19:56:21 -08:00
2010-02-20 10:06:35 -05:00
2010-02-10 07:16:44 -08:00
2009-11-18 08:37:40 -08:00
2010-01-14 09:05:42 -05:00
2009-04-02 19:05:08 -07:00
2010-01-26 22:22:26 -05:00
2009-12-11 15:18:05 -08:00
2009-12-10 09:33:59 -08:00
2010-01-19 22:36:06 -06:00
2009-06-17 00:36:36 -04:00
2010-01-05 09:14:32 +02:00
2009-10-27 19:34:04 -04:00
2009-12-16 12:04:02 -08:00
2009-12-23 13:44:12 +01:00
2010-01-25 04:00:31 -05:00
2009-12-16 10:29:26 -08:00
2009-07-12 12:22:34 -07:00
2009-12-16 07:20:13 -08:00
2010-02-02 18:11:21 -08:00
2010-02-12 10:16:14 +00:00
2009-12-15 08:53:10 -08:00
2009-10-29 07:39:27 -07:00
2009-06-30 18:56:03 -07:00
2009-12-16 07:20:06 -08:00
2010-01-14 09:05:25 -05:00
2009-12-16 12:16:47 -05:00
2009-12-16 10:43:34 -08:00
2009-12-23 13:44:13 +01:00
2009-12-23 08:05:15 -05:00
2009-12-16 12:04:02 -08:00
2009-12-22 12:27:35 -05:00
2009-12-16 10:43:34 -08:00
2009-09-23 07:39:57 -07:00
2009-12-04 15:39:55 +01:00
2010-02-15 19:53:43 -08:00
2008-12-23 15:21:32 -05:00
2010-02-20 00:47:31 -05:00
2010-01-31 14:57:31 +09:00
2009-09-30 09:31:14 -07:00
2010-01-15 14:49:23 -08:00
2009-12-17 11:03:25 -05:00
2010-02-08 13:02:28 -08:00
2009-12-04 15:39:55 +01:00
2009-01-05 11:54:28 -05:00
2009-11-23 09:29:58 +01:00
2010-02-19 10:25:41 -05:00
2009-12-16 07:20:18 -08:00
2010-01-11 13:06:41 +01:00
2010-01-16 12:15:40 -08:00
2010-02-14 19:07:56 +01:00
2010-01-26 22:22:26 -05:00
2009-09-24 07:47:42 -04:00
2009-09-22 07:17:24 -07:00
2010-02-16 15:42:42 -08:00
2009-06-17 00:36:37 -04:00
2010-01-12 21:02:00 -08:00
2009-12-14 21:40:04 +01:00
2009-12-16 07:20:06 -08:00
2010-01-15 13:49:07 -06:00
2009-12-16 07:20:13 -08:00
2009-12-22 12:27:34 -05:00
2009-09-24 08:41:47 -04:00
2008-12-31 18:07:43 -05:00
2010-01-29 08:22:01 -08:00
2010-01-29 08:22:01 -08:00
2010-01-29 08:22:01 -08:00
2008-10-16 11:21:38 -07:00
2010-01-29 08:22:01 -08:00
2009-01-06 15:59:19 -08:00
2008-10-16 11:21:38 -07:00
2010-01-29 08:22:01 -08:00
2010-01-30 20:28:19 +01:00
2010-01-28 15:08:29 +01:00
2010-02-07 03:06:21 -05:00
2009-09-25 09:27:30 -07:00
2009-09-24 07:21:03 -07:00
2010-02-11 14:05:55 -08:00
2009-12-14 18:12:10 -05:00
2009-12-16 12:16:48 -05:00
2009-01-14 14:15:18 +01:00
2009-12-17 04:52:13 -05:00
2009-09-24 07:21:04 -07:00
2010-01-25 12:26:38 -02:00
2009-12-22 12:27:34 -05:00
2010-02-22 19:50:34 -08:00
2010-02-07 10:26:01 -08:00
2008-10-21 07:47:06 -04:00
2010-02-07 03:07:29 -05:00
2009-10-11 11:20:58 -07:00
2009-04-20 23:02:52 -04:00
2009-03-31 23:00:27 -04:00
2010-01-02 10:09:44 -08:00
2009-12-16 12:16:49 -05:00
2009-12-17 11:03:25 -05:00
2009-12-22 12:27:34 -05:00
2009-11-12 07:26:01 -08:00
2009-01-14 14:15:30 +01:00
2009-12-17 13:23:24 -08:00
2009-01-09 16:54:41 -08:00
2009-12-16 12:16:48 -05:00
2009-09-22 07:17:25 -07:00
2009-04-07 08:31:16 -07:00
2009-05-13 15:13:42 -04:00
2010-02-19 03:56:42 -05:00
2010-01-16 13:07:36 -05:00
2009-12-14 18:12:11 -05:00
2009-12-22 12:27:34 -05:00
2009-12-17 10:51:40 -05:00
2008-11-14 10:39:05 +11:00
2009-11-04 09:09:52 +01:00
2009-01-14 14:15:31 +01:00
2009-10-04 15:05:10 -07:00
2009-09-24 07:47:35 -04:00
2009-12-22 12:27:34 -05:00
2009-11-04 09:09:52 +01:00
2009-12-17 10:58:17 -05:00
2009-12-23 13:33:54 +01:00
2009-12-23 11:23:43 -08:00
2009-12-17 11:03:25 -05:00
2009-12-22 12:27:34 -05:00
2009-01-14 14:15:30 +01:00
2009-12-03 11:48:07 +00:00
2009-12-16 12:16:49 -05:00