From: Oleg Nesterov Date: Sun, 8 Jan 2006 09:03:14 +0000 (-0800) Subject: [PATCH] little do_group_exit() cleanup X-Git-Tag: firefly_0821_release~39499 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=485a6435abc3897934ce0dc530e31db93e9296a6;p=firefly-linux-kernel-4.4.55.git [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 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); }