mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
[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 <oleg@tv-sign.ru> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
bb6f6dbaa4
commit
485a6435ab
1 changed files with 0 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue