sched: Rework migrate_tasks() and check_for_tasks()
cover sched: Rework migrate_tasks() and check_for_tasks()
This series fixes migration of throttled tasks and hierarchies from dead cpu. Currently, they do not migrate at all, and they may forever stay on dead cpu like in jail.
The first patch fixes migration, the second patch adds a little set of cases, we should warn in dmesg.
---
Kirill Tkhai (2):
sched: Rework migrate_tasks()
sched: Rework check_for_tasks()
kernel/cpu.c | 33 ++++++++++++++-------- kernel/sched/core.c | 75 ++++++++++++++------------------------------------- 2 files changed, 40 insertions(+), 68 deletions(-)
--
Signed-off-by Kirill Tkhai <[email protected]>