projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
791c9e0
)
sched/deadline: Cleanup RT leftovers from {inc/dec}_dl_migration
author
Kirill Tkhai
<ktkhai@parallels.com>
Tue, 25 Feb 2014 15:52:23 +0000
(19:52 +0400)
committer
Ingo Molnar
<mingo@kernel.org>
Thu, 27 Feb 2014 11:29:39 +0000
(12:29 +0100)
In deadline class we do not have group scheduling.
So, let's remove unnecessary
X = X;
equations.
Signed-off-by: Kirill Tkhai <ktkhai@parallels.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Cc: Juri Lelli <juri.lelli@gmail.com>
Link:
http://lkml.kernel.org/r/1393343543.4089.5.camel@tkhai
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/deadline.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/sched/deadline.c
b/kernel/sched/deadline.c
index 15cbc17fbf84d57ac52aa9b752d9552a4b4335ee..aecf93030e0b7188cf1166c42588c6d6d30a8071 100644
(file)
--- a/
kernel/sched/deadline.c
+++ b/
kernel/sched/deadline.c
@@
-135,7
+135,6
@@
static void update_dl_migration(struct dl_rq *dl_rq)
static void inc_dl_migration(struct sched_dl_entity *dl_se, struct dl_rq *dl_rq)
{
struct task_struct *p = dl_task_of(dl_se);
- dl_rq = &rq_of_dl_rq(dl_rq)->dl;
if (p->nr_cpus_allowed > 1)
dl_rq->dl_nr_migratory++;
@@
-146,7
+145,6
@@
static void inc_dl_migration(struct sched_dl_entity *dl_se, struct dl_rq *dl_rq)
static void dec_dl_migration(struct sched_dl_entity *dl_se, struct dl_rq *dl_rq)
{
struct task_struct *p = dl_task_of(dl_se);
- dl_rq = &rq_of_dl_rq(dl_rq)->dl;
if (p->nr_cpus_allowed > 1)
dl_rq->dl_nr_migratory--;
This page took
0.026297 seconds
and
5
git commands to generate.