diff options
author | Ingo Molnar <mingo@kernel.org> | 2015-02-04 01:44:00 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2015-02-04 01:44:00 -0500 |
commit | 4c195c8a1967ff8bee13a811518a99db04618ab7 (patch) | |
tree | 555682bd243ac56920ef7a2f3c1f3b666996c7b3 /kernel/sched/deadline.c | |
parent | 16b269436b7213ebc01dcfcc9dafa8535b676ccb (diff) | |
parent | 40767b0dc768060266d261b4a330164b4be53f7c (diff) |
Merge branch 'sched/urgent' into sched/core, to merge fixes before applying new patches
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/sched/deadline.c')
-rw-r--r-- | kernel/sched/deadline.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/sched/deadline.c b/kernel/sched/deadline.c index e7b272233c5c..e0e9c2986976 100644 --- a/kernel/sched/deadline.c +++ b/kernel/sched/deadline.c | |||
@@ -1094,6 +1094,7 @@ static void task_dead_dl(struct task_struct *p) | |||
1094 | * Since we are TASK_DEAD we won't slip out of the domain! | 1094 | * Since we are TASK_DEAD we won't slip out of the domain! |
1095 | */ | 1095 | */ |
1096 | raw_spin_lock_irq(&dl_b->lock); | 1096 | raw_spin_lock_irq(&dl_b->lock); |
1097 | /* XXX we should retain the bw until 0-lag */ | ||
1097 | dl_b->total_bw -= p->dl.dl_bw; | 1098 | dl_b->total_bw -= p->dl.dl_bw; |
1098 | raw_spin_unlock_irq(&dl_b->lock); | 1099 | raw_spin_unlock_irq(&dl_b->lock); |
1099 | 1100 | ||
@@ -1613,8 +1614,8 @@ static void cancel_dl_timer(struct rq *rq, struct task_struct *p) | |||
1613 | 1614 | ||
1614 | static void switched_from_dl(struct rq *rq, struct task_struct *p) | 1615 | static void switched_from_dl(struct rq *rq, struct task_struct *p) |
1615 | { | 1616 | { |
1617 | /* XXX we should retain the bw until 0-lag */ | ||
1616 | cancel_dl_timer(rq, p); | 1618 | cancel_dl_timer(rq, p); |
1617 | |||
1618 | __dl_clear_params(p); | 1619 | __dl_clear_params(p); |
1619 | 1620 | ||
1620 | /* | 1621 | /* |