Skip to contentSkip to conversation

Fix shutdown of cpu which having throttled rq

PATCH Superseded Kirill Tkhai 1 participant 1 message Jun 17, 2014

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

cover Fix shutdown of cpu which having throttled rq

Hi,

this is a result from discussion "[PATCH 1/2] sched: Rework migrate_tasks()":

	https://lkml.org/lkml/2014/6/11/166

The problem is cfs_rq and rt_rq may stay throttled in the moment of task migration from dead cpu. This patch fixes that for fair and RT classes. No fix for deadline class yet, it's coming soon.

Thanks
---

Kirill Tkhai (3):
sched/fair: Disable runtime_enabled on dying rq
sched/rt: __disable_runtime: Enqueue just unthrottled rt_rq back on the stack
sched: Rework check_for_tasks()

 kernel/cpu.c        |   33 ++++++++++++++++++++-------------
 kernel/sched/fair.c |   22 ++++++++++++++++++++++
 kernel/sched/rt.c   |    3 +++
 3 files changed, 45 insertions(+), 13 deletions(-)

--