sched: Implement head queueing for sched_rt
authorThomas Gleixner <tglx@linutronix.de>
Wed, 20 Jan 2010 20:59:01 +0000 (20:59 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 22 Jan 2010 17:09:59 +0000 (18:09 +0100)
commit37dad3fce97f01e5149d69de0833d8452c0e862e
treeb61b32fd56301211e06c4ff8d7d72a08eb7af182
parentea87bb7853168434f4a82426dd1ea8421f9e604d
sched: Implement head queueing for sched_rt

The ability of enqueueing a task to the head of a SCHED_FIFO priority
list is required to fix some violations of POSIX scheduling policy.

Implement the functionality in sched_rt.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Peter Zijlstra <peterz@infradead.org>
Tested-by: Carsten Emde <cbe@osadl.org>
Tested-by: Mathias Weber <mathias.weber.mw1@roche.com>
LKML-Reference: <20100120171629.772169931@linutronix.de>
kernel/sched_rt.c