Skip to contentSkip to conversation

sched: Rework migrate_tasks() and check_for_tasks()

PATCH New Kirill Tkhai 1 participant 1 message Jun 11, 2014

lore
Share & tools
lore
#0 lore raw

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(-)

--