Oleg Nesterov 5debfa6da5 [PATCH] coredump: shutdown current process first
This patch optimizes zap_threads() for the case when there are no ->mm
users except the current's thread group.  In that case we can avoid
'for_each_process()' loop.

It also adds a useful invariant: SIGNAL_GROUP_EXIT (if checked under
->siglock) always implies that all threads (except may be current) have
pending SIGKILL.

Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Cc: 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:27 -07:00
..
2006-06-25 10:01:22 -07:00
2006-06-26 09:58:18 -07:00
2006-06-26 09:58:18 -07:00
2006-06-26 09:58:18 -07:00
2006-06-26 09:58:20 -07:00
2006-06-26 09:58:18 -07:00
2006-06-09 09:40:27 -04:00
2006-06-25 12:30:33 -07:00
2006-06-26 09:58:18 -07:00
2006-06-26 09:58:18 -07:00
2006-06-26 09:58:18 -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-23 17:10:39 +02:00
2006-06-23 17:10:39 +02:00
2006-06-23 07:42:53 -07:00
2006-06-26 09:58:17 -07:00
2006-06-23 07:42:49 -07:00
2006-06-26 09:58:17 -07:00
2006-06-26 09:58:17 -07:00
2006-06-23 07:42:49 -07:00