Linus Torvalds
13fca640bb
Revert "fs/exec.c: use BUILD_BUG_ON for VM_STACK_FLAGS & VM_STACK_INCOMPLETE_SETUP"
...
This reverts commit 7f81c8890c15a10f5220bebae3b6dfae4961962a.
It turns out that it's not actually a build-time check on x86-64 UML,
which does some seriously crazy stuff with VM_STACK_FLAGS.
The VM_STACK_FLAGS define depends on the arch-supplied
VM_STACK_DEFAULT_FLAGS value, and on x86-64 UML we have
arch/um/sys-x86_64/shared/sysdep/vm-flags.h:
#define VM_STACK_DEFAULT_FLAGS \
(test_thread_flag(TIF_IA32) ? vm_stack_flags32 : vm_stack_flags)
#define VM_STACK_DEFAULT_FLAGS vm_stack_flags
(yes, seriously: two different #define's for that thing, with the first
one being inside an "#ifdef TIF_IA32")
It's possible that it is UML that should just be fixed in this area, but
for now let's just undo the (very small) optimization.
Reported-by: Randy Dunlap <randy.dunlap@oracle.com>
Acked-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Michal Hocko <mhocko@suse.cz>
Cc: Richard Weinberger <richard@nod.at>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-06-15 21:53:52 -07:00
..
2011-05-28 01:02:53 -04:00
2011-03-31 11:26:23 -03:00
2011-05-28 01:02:53 -04:00
2011-05-28 01:02:53 -04:00
2011-05-30 01:50:53 -04:00
2011-03-31 11:26:23 -03:00
2011-05-28 01:02:50 -04:00
2011-06-12 11:06:36 -07:00
2011-03-31 11:26:23 -03:00
2011-06-07 21:36:45 -07:00
2011-06-14 16:19:54 +00:00
2011-05-28 01:02:53 -04:00
2011-05-28 01:02:54 -04:00
2011-01-13 08:03:23 -08:00
2011-05-19 16:55:28 +09:30
2011-03-22 17:44:17 -07:00
2011-05-26 13:19:00 -07:00
2011-05-29 14:24:25 -05:00
2011-03-10 08:52:07 +01:00
2011-05-26 07:26:57 -04:00
2011-03-15 02:21:44 -04:00
2011-05-26 07:26:56 -04:00
2011-05-27 07:04:40 -04:00
2011-05-27 07:04:40 -04:00
2011-05-31 19:42:24 +09:00
2011-05-10 10:16:21 +02:00
2011-05-25 08:39:44 -07:00
2011-06-03 18:24:58 -04:00
2011-06-07 18:44:10 -07:00
2011-05-28 01:02:52 -04:00
2011-05-28 01:02:52 -04:00
2011-05-28 01:02:52 -04:00
2011-05-28 01:02:54 -04:00
2011-01-07 17:50:26 +11:00
2011-05-26 09:20:31 -07:00
2011-03-24 10:16:26 -07:00
2011-05-24 00:27:53 +02:00
2011-05-26 09:53:20 -07:00
2011-05-28 13:03:41 -07:00
2011-06-07 08:50:59 -04:00
2011-01-25 15:24:47 -05:00
2011-05-28 01:02:51 -04:00
2011-05-28 01:02:54 -04:00
2011-05-28 01:02:53 -04:00
2011-05-29 14:10:13 -07:00
2011-03-31 11:26:23 -03:00
2011-05-29 11:21:12 -07:00
2011-06-11 15:51:15 +09:00
2011-04-07 11:14:49 -07:00
2011-03-31 11:26:23 -03:00
2011-06-03 18:24:58 -04:00
2011-05-28 01:02:52 -04:00
2011-01-07 17:50:26 +11:00
2011-05-30 07:42:51 +02:00
2011-05-29 11:29:28 -07:00
2011-05-16 11:05:00 -07:00
2011-03-10 08:52:07 +01:00
2011-05-25 08:39:26 -07:00
2011-04-14 16:06:56 -07:00
2011-05-28 01:02:51 -04:00
2011-01-07 17:50:26 +11:00
2011-05-29 11:19:45 -07:00
2011-05-13 16:05:51 -07:00
2011-05-28 01:02:50 -04:00
2011-06-03 18:12:31 +03:00
2011-05-28 01:02:52 -04:00
2011-05-28 01:02:51 -04:00
2011-05-27 07:04:40 -04:00
2011-03-24 10:16:26 -07:00
2011-01-16 13:47:07 -05:00
2011-05-28 12:02:09 -04:00
2011-01-07 17:50:29 +11:00
2011-04-14 16:06:55 -07:00
2011-05-03 10:10:51 +10:00
2011-03-17 11:11:05 +01:00
2011-05-28 14:44:46 +02:00
2011-06-01 08:28:47 +02:00
2011-05-28 01:03:21 -04:00
2011-01-13 10:45:01 -08:00
2011-01-07 14:39:20 -08:00
2011-04-09 15:53:56 +02:00
2011-05-25 08:39:26 -07:00
2011-05-31 16:33:35 +02:00
2011-03-24 10:16:26 -07:00
2011-05-25 08:39:26 -07:00
2011-02-21 15:07:04 -08:00
2011-03-31 11:26:23 -03:00
2011-06-15 21:53:52 -07:00
2011-03-23 19:47:13 -07:00
2011-04-14 16:06:56 -07:00
2011-03-21 00:16:09 -04:00
2011-03-16 13:26:17 -07:00
2011-04-28 11:28:20 -07:00
2011-04-17 10:42:01 -07:00
2011-01-16 13:47:07 -05:00
2011-05-27 07:04:40 -04:00
2011-03-23 19:47:13 -07:00
2011-05-27 09:43:00 -04:00
2011-03-24 21:17:51 -04:00
2011-03-21 00:16:08 -04:00
2011-05-26 09:52:14 -07:00
2011-05-26 07:26:50 -04:00
2011-03-24 08:20:39 -07:00
2011-03-16 19:01:29 -07:00
2011-05-25 08:39:26 -07:00
2011-05-26 10:01:43 -06:00
2011-06-07 08:51:14 -04:00
2011-05-26 07:26:44 -04:00
2011-03-14 09:15:28 -04:00
2011-03-21 01:10:41 -04:00
2011-01-20 16:21:59 -08:00
2011-01-07 17:50:33 +11:00
2011-01-25 15:24:47 -05:00
2011-01-12 20:06:58 -05:00
2011-03-21 00:16:08 -04:00
2011-05-23 19:58:53 +02:00
2011-03-15 02:21:45 -04:00
2011-03-14 09:15:28 -04:00
2011-06-03 18:24:58 -04:00
2011-03-24 10:16:26 -07:00
2011-05-23 13:59:53 +02:00
2011-03-23 19:47:13 -07:00
2011-05-28 12:02:09 -04:00