Anton Vorontsov
3eaa73bde2
arm: use clear_tasks_mm_cpumask()
...
Checking for process->mm is not enough because process' main thread may
exit or detach its mm via use_mm(), but other threads may still have a
valid mm.
To fix this we would need to use find_lock_task_mm(), which would walk up
all threads and returns an appropriate task (with task lock held).
clear_tasks_mm_cpumask() has this issue fixed, so let's use it.
Suggested-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Cc: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-05-31 17:49:29 -07:00
..
2012-05-26 13:05:55 -07:00
2012-05-25 09:18:59 -07:00
2012-05-29 16:22:33 -07:00
2012-05-26 13:14:01 -07:00
2012-05-31 17:49:29 -07:00
2012-05-05 05:50:50 +01:00
2012-05-25 09:31:59 -07:00
2012-04-18 21:21:45 -07:00
2012-05-15 21:20:59 +02:00
2012-05-13 17:12:17 +01:00
2012-05-26 13:14:01 -07:00
2012-05-26 12:42:29 -07:00
2012-03-29 18:02:10 -07:00
2012-05-26 13:14:01 -07:00
2012-05-26 13:14:01 -07:00
2012-05-13 17:12:17 +01:00
2012-03-06 21:34:44 -06:00
2012-03-30 17:00:34 -07:00
2012-03-29 18:02:10 -07:00
2012-05-26 13:14:01 -07:00
2012-05-21 15:15:10 +01:00
2012-05-13 17:12:16 +01:00
2012-05-13 17:12:17 +01:00
2012-05-13 17:12:17 +01:00
2012-05-21 16:01:50 -07:00
2012-05-26 12:42:29 -07:00
2012-05-13 17:12:17 +01:00
2012-05-24 14:01:46 -07:00
2012-05-22 13:32:53 -07:00
2012-05-26 13:14:01 -07:00
2012-05-26 12:42:29 -07:00
2012-05-26 12:57:47 -07:00
2012-03-13 21:25:21 -05:00
2012-05-15 14:42:57 +02:00
2012-05-26 13:14:01 -07:00
2012-05-26 13:14:01 -07:00
2012-05-26 12:42:29 -07:00
2012-03-29 18:02:10 -07:00
2012-05-26 13:14:01 -07:00
2012-05-26 13:14:01 -07:00
2012-05-22 13:32:53 -07:00
2012-03-29 18:02:10 -07:00
2012-03-29 18:02:10 -07:00
2012-05-26 13:05:55 -07:00
2012-05-26 13:14:01 -07:00
2012-03-28 18:30:01 +01:00
2012-03-28 18:30:01 +01:00
2012-03-28 18:30:01 +01:00
2012-05-12 16:12:30 +09:00
2012-05-12 16:12:30 +09:00
2012-05-22 15:50:46 -07:00
2012-05-26 13:14:01 -07:00
2012-05-13 17:12:17 +01:00
2012-05-26 13:14:01 -07:00
2012-05-22 09:39:42 -07:00
2012-05-26 12:42:29 -07:00
2012-05-14 17:34:07 +02:00
2012-05-26 13:14:01 -07:00
2012-04-20 09:52:58 +02:00
2012-05-29 11:53:11 -07:00
2012-05-21 15:15:10 +01:00
2012-04-27 13:39:01 +01:00
2012-03-06 21:34:44 -06:00
2012-03-30 17:00:34 -07:00
2012-03-06 21:34:44 -06:00
2012-05-25 09:18:59 -07:00
2012-03-24 09:38:56 +00:00
2012-04-08 21:48:52 +02:00
2012-05-13 17:12:17 +01:00
2012-05-26 13:14:01 -07:00
2012-05-15 14:42:57 +02:00
2012-05-26 12:31:49 -07:00
2012-05-26 12:42:29 -07:00
2012-04-27 16:50:05 +08:00
2012-05-12 16:22:18 +09:00
2012-05-26 13:05:55 -07:00
2012-05-22 09:39:42 -07:00
2012-05-04 16:53:37 +01:00
2012-04-26 08:46:02 +01:00
2012-05-21 15:15:24 +01:00
2012-05-26 12:57:47 -07:00
2012-05-26 12:57:47 -07:00
2012-05-26 13:05:55 -07:00