]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] little do_group_exit() cleanup
authorOleg Nesterov <oleg@tv-sign.ru>
Sun, 8 Jan 2006 09:03:14 +0000 (01:03 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 9 Jan 2006 04:13:55 +0000 (20:13 -0800)
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>
kernel/exit.c

index c73a7eb26de37b7852426c2b6bb572b09fd84472..a80824f6108b70c981d9f47e817c488c2b8db5a5 100644 (file)
@@ -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);
                }