sched/rt: Add reschedule check to switched_from_rt()
authorKirill Tkhai <tkhai@yandex.ru>
Thu, 22 Nov 2012 20:02:15 +0000 (00:02 +0400)
committerIngo Molnar <mingo@kernel.org>
Thu, 24 Jan 2013 16:14:30 +0000 (17:14 +0100)
commit1158ddb55416855fd17abe3214298f736f00426a
tree493bc349d3e2b33b6c851ff72b2b15b7cc683ee8
parenta59f4e079d19464eebb9b06513a1d4f55fdae5ba
sched/rt: Add reschedule check to switched_from_rt()

Reschedule rq->curr if the first RT task has just been
pulled to the rq.

Signed-off-by: Kirill V Tkhai <tkhai@yandex.ru>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Tkhai Kirill <tkhai@yandex.ru>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/118761353614535@web28f.yandex.ru
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/rt.c