[PATCH RT 2/4] sched: Queue RT tasks to head when prio drops

2012-12-22 Thread Steven Rostedt
From: Thomas Gleixner The following scenario does not work correctly: Runqueue of CPUx contains two runnable and pinned tasks: T1: SCHED_FIFO, prio 80 T2: SCHED_FIFO, prio 80 T1 is on the cpu and executes the following syscalls (classic priority ceiling scenario): sys_sched_setscheduler(pid

[PATCH RT 2/4] sched: Queue RT tasks to head when prio drops

2012-12-22 Thread Steven Rostedt
From: Thomas Gleixner The following scenario does not work correctly: Runqueue of CPUx contains two runnable and pinned tasks: T1: SCHED_FIFO, prio 80 T2: SCHED_FIFO, prio 80 T1 is on the cpu and executes the following syscalls (classic priority ceiling scenario): sys_sched_setscheduler(pid