|
@@ -108,8 +108,7 @@ int cpudl_find(struct cpudl *cp, struct task_struct *p,
|
|
const struct sched_dl_entity *dl_se = &p->dl;
|
|
const struct sched_dl_entity *dl_se = &p->dl;
|
|
|
|
|
|
if (later_mask &&
|
|
if (later_mask &&
|
|
- cpumask_and(later_mask, cp->free_cpus, &p->cpus_allowed) &&
|
|
|
|
- cpumask_and(later_mask, later_mask, cpu_active_mask)) {
|
|
|
|
|
|
+ cpumask_and(later_mask, cp->free_cpus, &p->cpus_allowed)) {
|
|
best_cpu = cpumask_any(later_mask);
|
|
best_cpu = cpumask_any(later_mask);
|
|
goto out;
|
|
goto out;
|
|
} else if (cpumask_test_cpu(cpudl_maximum(cp), &p->cpus_allowed) &&
|
|
} else if (cpumask_test_cpu(cpudl_maximum(cp), &p->cpus_allowed) &&
|