]> git.baikalelectronics.ru Git - kernel.git/commit
sched: remove activate_idle_task()
authorDmitry Adamushko <dmitry.adamushko@gmail.com>
Thu, 15 Nov 2007 19:57:40 +0000 (20:57 +0100)
committerIngo Molnar <mingo@elte.hu>
Thu, 15 Nov 2007 19:57:40 +0000 (20:57 +0100)
commit605bdacbd1d19be2275546f4176e7d73e685ebd1
treeac684740f71e1e6dcfbb70b3d466c952f8f4072e
parentf0a9193eea13e70deb100d23626414af5858cb91
sched: remove activate_idle_task()

cpu_down() code is ok wrt sched_idle_next() placing the 'idle' task not
at the beginning of the queue.

So get rid of activate_idle_task() and make use of activate_task() instead.
It is the same as activate_task(), except for the update_rq_clock(rq) call
that is redundant.

Code size goes down:

   text    data     bss     dec     hex filename
  47853    3934     336   52123    cb9b sched.o.before
  47828    3934     336   52098    cb82 sched.o.after

Signed-off-by: Dmitry Adamushko <dmitry.adamushko@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c