[<prev] [next>] [day] [month] [year] [list]
Message-ID: <1403596424.3462.25.camel@tkhai>
Date: Tue, 24 Jun 2014 11:53:44 +0400
From: Kirill Tkhai <ktkhai@...allels.com>
To: <linux-kernel@...r.kernel.org>
CC: Peter Zijlstra <peterz@...radead.org>,
Ingo Molnar <mingo@...nel.org>, <tkhai@...dex.ru>,
Srikar Dronamraju <srikar@...ux.vnet.ibm.com>,
"Mike Galbraith" <umgwanakikbuti@...il.com>,
<khorenko@...allels.com>, Ben Segall <bsegall@...gle.com>,
Paul Turner <pjt@...gle.com>
Subject: [PATCH v2 0/3] Fix shutdown of cpu which having throttled rq
This is a result of 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.
v2: [1/3]Collision with tg_set_cfs_bandwidth() found by Ben Segall.
Code movement.
---
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/core.c | 15 +++++++++++----
kernel/sched/fair.c | 22 ++++++++++++++++++++++
kernel/sched/rt.c | 3 +++
4 files changed, 56 insertions(+), 17 deletions(-)
--
Signed-off-by: Kirill Tkhai <ktkhai@...allels.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists