From: Oleg Nesterov Date: Sun, 8 Jan 2006 09:03:14 +0000 (-0800) Subject: [PATCH] little do_group_exit() cleanup X-Git-Tag: v2.6.16-rc1~763 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=485a6435abc3897934ce0dc530e31db93e9296a6;p=linux-2.6 [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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/kernel/exit.c b/kernel/exit.c index c73a7eb26d..a80824f610 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); }