From: Kirill Tkhai <ktkhai@parallels.com>
To: <linux-kernel@vger.kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>,
Ingo Molnar <mingo@kernel.org>, <tkhai@yandex.ru>,
Srikar Dronamraju <srikar@linux.vnet.ibm.com>,
"Mike Galbraith" <umgwanakikbuti@gmail.com>,
<khorenko@parallels.com>, Ben Segall <bsegall@google.com>,
Paul Turner <pjt@google.com>
Subject: [PATCH v2 0/3] Fix shutdown of cpu which having throttled rq
Date: Tue, 24 Jun 2014 11:53:44 +0400 [thread overview]
Message-ID: <1403596424.3462.25.camel@tkhai> (raw)
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@parallels.com>
reply other threads:[~2014-06-24 7:53 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1403596424.3462.25.camel@tkhai \
--to=ktkhai@parallels.com \
--cc=bsegall@google.com \
--cc=khorenko@parallels.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=peterz@infradead.org \
--cc=pjt@google.com \
--cc=srikar@linux.vnet.ibm.com \
--cc=tkhai@yandex.ru \
--cc=umgwanakikbuti@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox