Message ID | 20160415070709.GA3908@pablo |
---|---|
State | New |
Headers | show |
diff --git a/kernel/sched/core.c b/kernel/sched/core.c index 9503d59..d59fa20 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -2432,7 +2432,7 @@ static int dl_overflow(struct task_struct *p, int policy, u64 new_bw = dl_policy(policy) ? to_ratio(period, runtime) : 0; int cpus, err = -1; - if (new_bw == p->dl.dl_bw) + if (task_has_dl_policy(p) && new_bw == p->dl.dl_bw) return 0; /*