[PATCH 19/26] wait: Simpler code for clearing notask_error in wait_consider_task

2017-06-06 Thread Eric W. Biederman
Start with reaping pending zombies and then return if there is nothing wait_task_consider can ever do with the task. What remains are living tasks and delayed child zombie thread group leaders waiting for their thread group to exit. Leaving something for WEXITED to find later. As long as

[PATCH 19/26] wait: Simpler code for clearing notask_error in wait_consider_task

2017-06-06 Thread Eric W. Biederman
Start with reaping pending zombies and then return if there is nothing wait_task_consider can ever do with the task. What remains are living tasks and delayed child zombie thread group leaders waiting for their thread group to exit. Leaving something for WEXITED to find later. As long as