commit | 823b018e5b1196d810790559357447948f644548 | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Wed Mar 23 10:37:01 2011 +0100 |
committer | Tejun Heo <tj@kernel.org> | Wed Mar 23 10:37:01 2011 +0100 |
tree | a7bb20bc487a08943c25e789c51c790aef14d169 | |
parent | 408a37de6c95832a4880a88a742f89f0cc554d06 [diff] |
job control: Small reorganization of wait_consider_task() Move EXIT_DEAD test in wait_consider_task() above ptrace check. As ptraced tasks can't be EXIT_DEAD, this change doesn't cause any behavior change. This is to prepare for further changes. Signed-off-by: Tejun Heo <tj@kernel.org> Acked-by: Oleg Nesterov <oleg@redhat.com>