]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - kernel/sched.c
sched: rework of "prioritize non-migratable tasks over migratable ones"
[linux-2.6-omap-h63xx.git] / kernel / sched.c
index 554de40098037c8a115406c07036cfd751785cc3..cc1d558406f8be937a696d80d321b0ee822b424c 100644 (file)
@@ -153,8 +153,7 @@ static inline int task_has_rt_policy(struct task_struct *p)
  */
 struct rt_prio_array {
        DECLARE_BITMAP(bitmap, MAX_RT_PRIO+1); /* include 1 bit for delimiter */
-       struct list_head xqueue[MAX_RT_PRIO]; /* exclusive queue */
-       struct list_head squeue[MAX_RT_PRIO];  /* shared queue */
+       struct list_head queue[MAX_RT_PRIO];
 };
 
 struct rt_bandwidth {
@@ -7620,8 +7619,7 @@ static void init_rt_rq(struct rt_rq *rt_rq, struct rq *rq)
 
        array = &rt_rq->active;
        for (i = 0; i < MAX_RT_PRIO; i++) {
-               INIT_LIST_HEAD(array->xqueue + i);
-               INIT_LIST_HEAD(array->squeue + i);
+               INIT_LIST_HEAD(array->queue + i);
                __clear_bit(i, array->bitmap);
        }
        /* delimiter for bitsearch: */