The attached patch makes use of the new list_move_tail macro in 2.5 as
needed in sched.c, replacing a list_del and list_add_tail combo with the
optimized list_move_tail.
} else
current->time_slice--;
} else if (unlikely(rt_task(current))) {
- list_del(¤t->run_list);
- list_add_tail(¤t->run_list, array->queue + current->prio);
+ list_move_tail(¤t->run_list, array->queue + current->prio);
} else {
list_del(¤t->run_list);
if (list_empty(array->queue + current->prio))