]> rtime.felk.cvut.cz Git - linux-imx.git/commit
sched/rt: Simplify pull_rt_task() logic and remove .leaf_rt_rq_list
authorKirill Tkhai <tkhai@yandex.ru>
Fri, 7 Jun 2013 19:37:43 +0000 (15:37 -0400)
committerIngo Molnar <mingo@kernel.org>
Wed, 19 Jun 2013 10:58:40 +0000 (12:58 +0200)
commite23ee74777f389369431d77390c4b09332ce026a
tree7db62a86e3efc6bb7ecf1b8eca35d76a5ceb9492
parentd81344c50824a4d28a9397e97135d60075ac37ff
sched/rt: Simplify pull_rt_task() logic and remove .leaf_rt_rq_list

[ Peter, this is based off of some of my work, I ran it though a few
  tests and it passed. I also reviewed it, and added my SOB as I am
  somewhat a co-author to it. ]

Based on the patch by Steven Rostedt from previous year:

https://lkml.org/lkml/2012/4/18/517

1)Simplify pull_rt_task() logic: search in pushable tasks of dest runqueue.
The only pullable tasks are the tasks which are pushable in their local rq,
and no others.

2)Remove .leaf_rt_rq_list member of struct rt_rq and functions connected
with it: nobody uses it since now.

Signed-off-by: Kirill Tkhai <tkhai@yandex.ru>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/287571370557898@web7d.yandex.ru
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/rt.c
kernel/sched/sched.h