aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched_fair.c
diff options
context:
space:
mode:
authorDmitry Adamushko <dmitry.adamushko@gmail.com>2007-11-15 20:57:40 +0100
committerIngo Molnar <mingo@elte.hu>2007-11-15 20:57:40 +0100
commit94bc9a7bd97efdda4dfbe61d0df32ce19d41c0a9 (patch)
treeac684740f71e1e6dcfbb70b3d466c952f8f4072e /kernel/sched_fair.c
parentsched: fix __set_task_cpu() SMP race (diff)
downloadlinux-dev-94bc9a7bd97efdda4dfbe61d0df32ce19d41c0a9.tar.xz
linux-dev-94bc9a7bd97efdda4dfbe61d0df32ce19d41c0a9.zip
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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions