* [PATCH] little do_group_exit() cleanup
@ 2005-11-23 14:24 Oleg Nesterov
0 siblings, 0 replies; only message in thread
From: Oleg Nesterov @ 2005-11-23 14:24 UTC (permalink / raw)
To: linux-kernel; +Cc: Andrew Morton
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>
--- 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);
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-11-23 13:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-23 14:24 [PATCH] little do_group_exit() cleanup Oleg Nesterov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®