Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 485a6435 authored by Oleg Nesterov's avatar Oleg Nesterov Committed by Linus Torvalds
Browse files

[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: default avatarOleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent bb6f6dba
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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);
		}