]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - kernel/sched_rt.c
Merge branch 'linus' into sched/core
[karo-tx-linux.git] / kernel / sched_rt.c
index a9d3c6bc684adcc7d68e598d878912ce6af686e2..0cc188cf76642ec1a85efb31023bb177f4219800 100644 (file)
@@ -1031,7 +1031,7 @@ select_task_rq_rt(struct task_struct *p, int sd_flag, int flags)
         */
        if (curr && unlikely(rt_task(curr)) &&
            (curr->rt.nr_cpus_allowed < 2 ||
-            curr->prio < p->prio) &&
+            curr->prio <= p->prio) &&
            (p->rt.nr_cpus_allowed > 1)) {
                int target = find_lowest_rq(p);
 
@@ -1563,7 +1563,7 @@ static void task_woken_rt(struct rq *rq, struct task_struct *p)
            p->rt.nr_cpus_allowed > 1 &&
            rt_task(rq->curr) &&
            (rq->curr->rt.nr_cpus_allowed < 2 ||
-            rq->curr->prio < p->prio))
+            rq->curr->prio <= p->prio))
                push_rt_tasks(rq);
 }