hc
2023-11-06 e3e12f52b214121840b44c91de5b3e5af5d3eb84
kernel/kernel/sched/cpudeadline.c
....@@ -124,14 +124,14 @@
124124 const struct sched_dl_entity *dl_se = &p->dl;
125125
126126 if (later_mask &&
127
- cpumask_and(later_mask, cp->free_cpus, &p->cpus_allowed)) {
127
+ cpumask_and(later_mask, cp->free_cpus, p->cpus_ptr)) {
128128 return 1;
129129 } else {
130130 int best_cpu = cpudl_maximum(cp);
131131
132132 WARN_ON(best_cpu != -1 && !cpu_present(best_cpu));
133133
134
- if (cpumask_test_cpu(best_cpu, &p->cpus_allowed) &&
134
+ if (cpumask_test_cpu(best_cpu, p->cpus_ptr) &&
135135 dl_time_before(dl_se->deadline, cp->elements[0].dl)) {
136136 if (later_mask)
137137 cpumask_set_cpu(best_cpu, later_mask);