|
@@ -1213,8 +1213,7 @@ select_task_rq_rt(struct task_struct *p, int sd_flag, int flags)
|
|
*/
|
|
*/
|
|
if (curr && unlikely(rt_task(curr)) &&
|
|
if (curr && unlikely(rt_task(curr)) &&
|
|
(curr->nr_cpus_allowed < 2 ||
|
|
(curr->nr_cpus_allowed < 2 ||
|
|
- curr->prio <= p->prio) &&
|
|
|
|
- (p->nr_cpus_allowed > 1)) {
|
|
|
|
|
|
+ curr->prio <= p->prio)) {
|
|
int target = find_lowest_rq(p);
|
|
int target = find_lowest_rq(p);
|
|
|
|
|
|
if (target != -1)
|
|
if (target != -1)
|