Oleg Nesterov
aceecc0412
[PATCH] coredump: optimize ->mm users traversal
...
zap_threads() iterates over all threads to find those ones which share
current->mm. All threads in the thread group share the same ->mm, so we can
skip entire thread group if it has another ->mm.
This patch shifts the killing of thread group into the newly added
zap_process() function. This looks as unnecessary complication, but it is
used in further patches.
Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Acked-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-06-26 09:58:26 -07:00
..
2006-06-25 10:54:14 -07:00
2006-06-23 07:42:45 -07:00
2006-06-25 10:01:22 -07:00
2006-06-26 09:58:18 -07:00
2006-06-23 07:42:45 -07:00
2006-06-26 09:58:18 -07:00
2006-06-23 07:42:45 -07:00
2006-06-23 07:42:45 -07:00
2006-06-24 13:07:53 -04:00
2006-06-26 09:58:17 -07:00
2006-06-26 09:58:18 -07:00
2006-06-23 07:43:02 -07:00
2006-06-24 13:07:53 -04:00
2006-06-23 07:42:45 -07:00
2006-06-23 07:42:45 -07:00
2006-06-23 07:42:45 -07:00
2006-05-21 12:59:16 -07:00
2006-06-25 10:01:25 -07:00
2006-06-26 09:58:20 -07:00
2006-06-23 07:43:03 -07:00
2006-06-25 10:01:01 -07:00
2006-06-25 10:54:14 -07:00
2006-06-23 07:43:02 -07:00
2006-06-23 07:43:02 -07:00
2006-06-23 07:42:45 -07:00
2006-06-23 07:42:45 -07:00
2006-06-23 07:42:45 -07:00
2006-06-23 07:42:48 -07:00
2006-06-23 07:42:45 -07:00
2006-06-25 10:01:07 -07:00
2006-06-23 07:42:45 -07:00
2006-06-26 09:58:18 -07:00
2006-06-23 07:43:02 -07:00
2006-06-09 09:40:27 -04:00
2006-06-23 07:43:02 -07:00
2006-06-23 07:42:45 -07:00
2006-06-23 07:42:45 -07:00
2006-06-25 12:30:33 -07:00
2006-06-26 09:58:18 -07:00
2006-06-25 10:01:09 -07:00
2006-06-26 09:58:18 -07:00
2006-06-25 10:01:05 -07:00
2006-06-23 07:43:09 -07:00
2006-06-26 09:58:26 -07:00
2006-06-23 07:42:45 -07:00
2006-06-23 07:42:45 -07:00
2006-06-26 09:58:19 -07:00
2006-06-23 07:42:45 -07:00
2006-06-26 09:58:18 -07:00
2006-06-26 09:58:17 -07:00
2006-06-23 07:43:02 -07:00
2006-06-23 07:42:45 -07:00
2006-06-25 10:01:04 -07:00
2006-06-23 07:42:45 -07:00
2006-06-25 17:43:32 -07:00
2006-06-23 07:43:07 -07:00
2006-06-23 07:42:54 -07:00
2006-06-23 07:43:05 -07:00
2006-06-25 21:04:24 -07:00
2006-06-24 13:07:53 -04:00
2006-06-17 10:52:12 -07:00
2006-06-23 07:42:45 -07:00
2006-06-23 17:10:39 +02:00
2006-06-26 09:58:23 -07:00
2006-06-23 07:42:45 -07:00
2006-06-26 09:58:17 -07:00
2006-06-23 17:10:39 +02:00
2006-06-26 09:58:17 -07:00
2006-06-25 10:01:13 -07:00
2006-06-26 09:58:26 -07:00
2006-06-23 07:43:06 -07:00
2006-06-23 17:10:39 +02:00
2006-06-23 07:42:45 -07:00
2006-06-20 05:25:19 -04:00
2006-06-23 07:42:53 -07:00
2006-06-26 09:58:23 -07:00
2006-06-26 09:58:17 -07:00
2006-06-23 07:43:03 -07:00
2006-06-20 05:25:17 -04:00
2006-06-23 07:42:49 -07:00
2006-06-25 10:01:22 -07:00
2006-06-26 09:58:17 -07:00
2006-06-25 10:01:15 -07:00
2006-06-23 07:42:45 -07:00
2006-06-26 09:58:17 -07:00
2006-06-25 10:01:22 -07:00
2006-06-23 17:10:39 +02:00
2006-06-24 13:07:53 -04:00
2006-06-23 07:42:49 -07:00
2006-06-20 05:25:28 -04:00