diff options
author | Oleg Nesterov <oleg@tv-sign.ru> | 2008-02-08 13:19:04 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-08 18:22:26 +0100 |
commit | 96fabbf55ae79826f2e8a86f4066d7e8834315ae (patch) | |
tree | e4b3259a744a1e0c8fa477e3dfba02e4ea1993c8 /CREDITS | |
parent | wait_task_stopped(): remove unneeded delay_group_leader check (diff) | |
download | linux-96fabbf55ae79826f2e8a86f4066d7e8834315ae.tar.xz linux-96fabbf55ae79826f2e8a86f4066d7e8834315ae.zip |
do_wait: cleanup delay_group_leader() usage
eligible_child() == 2 means delay_group_leader(). With the previous patch
this only matters for EXIT_ZOMBIE task, we can move that special check to
the only place it is really needed.
Also, with this patch we don't skip security_task_wait() for the group
leaders in a non-empty thread group. I don't really understand the exact
semantics of security_task_wait(), but imho this change is a bugfix.
Also rearrange the code a bit to kill an ugly "check_continued" backdoor.
Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Cc: Eric Paris <eparis@redhat.com>
Cc: James Morris <jmorris@namei.org>
Cc: Roland McGrath <roland@redhat.com>
Cc: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions