diff options
| author | Oleg Nesterov <[email protected]> | 2016-11-14 18:46:12 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2016-11-22 11:33:43 +0000 |
| commit | 8e5bfa8c1f8471aa4a2d30be631ef2b50e10abaf (patch) | |
| tree | ad3d1c2dc3f1770ac865c8f1df91a53c1e276728 /lib/cpu-notifier-error-inject.c | |
| parent | sched/autogroup: Fix autogroup_move_group() to never skip sched_move_task() (diff) | |
| download | kernel-8e5bfa8c1f8471aa4a2d30be631ef2b50e10abaf.tar.gz kernel-8e5bfa8c1f8471aa4a2d30be631ef2b50e10abaf.zip | |
sched/autogroup: Do not use autogroup->tg in zombie threads
Exactly because for_each_thread() in autogroup_move_group() can't see it
and update its ->sched_task_group before _put() and possibly free().
So the exiting task needs another sched_move_task() before exit_notify()
and we need to re-introduce the PF_EXITING (or similar) check removed by
the previous change for another reason.
Signed-off-by: Oleg Nesterov <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions
