[PATCH] little do_group_exit() cleanup

From: Oleg Nesterov
Date: Wed Nov 23 2005 - 08:09:42 EST


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@xxxxxxxxxx>

--- 2.6.15-rc2/kernel/exit.c~3_DOGE 2005-11-22 19:35:52.000000000 +0300
+++ 2.6.15-rc2/kernel/exit.c 2005-11-23 19:33:27.000000000 +0300
@@ -926,7 +926,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);
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/