History

sched/deadline: Cleanup RT leftovers from {inc/dec}_dl_migration

In deadline class we do not have group scheduling. So, let's remove unnecessary X = X; equations.

Kirill Tkhai committed 12 years ago

Commit 3908ac11 parent 791c9e01 file · +0 −2Browse files

Showing the changes to kernel (1 of 1 file). Show all

Unified · Split

kernel/sched/deadline.c+0−2
@@ -135,7 +135,6 @@ static void update_dl_migration(struct dl_rq *dl_rq) · 134 unmodified lines
135135 static void inc_dl_migration(struct sched_dl_entity *dl_se, struct dl_rq *dl_rq)
136136 {
137137 struct task_struct *p = dl_task_of(dl_se);
138− dl_rq = &rq_of_dl_rq(dl_rq)->dl;
139138
140139 if (p->nr_cpus_allowed > 1)
141140 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) · 4 unmodified lines
146145 static void dec_dl_migration(struct sched_dl_entity *dl_se, struct dl_rq *dl_rq)
147146 {
148147 struct task_struct *p = dl_task_of(dl_se);
149− dl_rq = &rq_of_dl_rq(dl_rq)->dl;
150148
151149 if (p->nr_cpus_allowed > 1)
152150 dl_rq->dl_nr_migratory--;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t