sched/rt: Do not try to push tasks if pinned task switches to RT
authorKirill V Tkhai <tkhai@yandex.ru>
Wed, 12 Mar 2014 10:18:33 +0000 (06:18 -0400)
committerIngo Molnar <mingo@kernel.org>
Fri, 18 Apr 2014 10:07:23 +0000 (12:07 +0200)
commit10447917551e0fffb8d1892d46e633c3e0a9c1ec
treeb37e12c194a945b3fd9e573892a6131db30f29b8
parent27e4f9d0012a9bb7011aade862f08679d2921ab0
sched/rt: Do not try to push tasks if pinned task switches to RT

Just switched pinned task is not able to be pushed. If the rq had had
several RT tasks before they have already been considered as candidates
to be pushed (or pulled).

Signed-off-by: Kirill V Tkhai <tkhai@yandex.ru>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20140312061833.3a43aa64@gandalf.local.home
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/rt.c