projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb6f6db
)
[PATCH] little do_group_exit() cleanup
author
Oleg Nesterov
<oleg@tv-sign.ru>
Sun, 8 Jan 2006 09:03:14 +0000
(
01:03
-0800)
committer
Linus 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
patch
|
blob
|
blame
|
history
diff --git
a/kernel/exit.c
b/kernel/exit.c
index c73a7eb26de37b7852426c2b6bb572b09fd84472..a80824f6108b70c981d9f47e817c488c2b8db5a5 100644
(file)
--- a/
kernel/exit.c
+++ b/
kernel/exit.c
@@
-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);
}