summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@tv-sign.ru>2006-01-08 10:03:14 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-09 05:13:55 +0100
commit485a6435abc3897934ce0dc530e31db93e9296a6 (patch)
tree9f934146083a4b34eedc9edec37a2ca4783419f0
parent[PATCH] do_coredump() should reset group_stop_count earlier (diff)
downloadlinux-485a6435abc3897934ce0dc530e31db93e9296a6.tar.xz
linux-485a6435abc3897934ce0dc530e31db93e9296a6.zip
[PATCH] little do_group_exit() cleanup
zap_other_threads() sets SIGNAL_GROUP_EXIT at the very start, do_group_exit() doesn't need to do it. Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--kernel/exit.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/exit.c b/kernel/exit.c
index c73a7eb26de3..a80824f6108b 100644
--- a/kernel/exit.c
+++ b/kernel/exit.c
@@ -925,7 +925,6 @@ do_group_exit(int exit_code)
/* Another thread got here before we took the lock. */
exit_code = sig->group_exit_code;
else {
- sig->flags = SIGNAL_GROUP_EXIT;
sig->group_exit_code = exit_code;
zap_other_threads(current);
}