summaryrefslogtreecommitdiff
path: root/fs/jffs2
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@tv-sign.ru>2006-06-26 11:26:09 +0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-26 20:58:27 +0400
commit5debfa6da5b06954bc79fe8deed0d1062c58dcec (patch)
tree30cb592c5020cccd203f4ab466dea9eee3f626d5 /fs/jffs2
parentdcf560c59330945a231d5e52f95dfedde4e32c9d (diff)
downloadlinux-5debfa6da5b06954bc79fe8deed0d1062c58dcec.tar.xz
[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>
Diffstat (limited to 'fs/jffs2')
0 files changed, 0 insertions, 0 deletions