[PATCH RESEND 2/2] sched/rt: Consider deadline tasks in cpupri_find()

2015-03-18 Thread Xunlei Pang
From: Xunlei Pang Currently, RT global scheduling doesn't factor deadline tasks, this may cause some problems. See a case below: On a 3 CPU system, CPU0 has one running deadline task, CPU1 has one running low priority RT task or idle, CPU3 has one running high priority RT task. When another mid

[PATCH RESEND 2/2] sched/rt: Consider deadline tasks in cpupri_find()

2015-03-18 Thread Xunlei Pang
From: Xunlei Pang pang.xun...@linaro.org Currently, RT global scheduling doesn't factor deadline tasks, this may cause some problems. See a case below: On a 3 CPU system, CPU0 has one running deadline task, CPU1 has one running low priority RT task or idle, CPU3 has one running high priority RT