From: Dmitry Adamushko Date: Mon, 15 Oct 2007 15:00:08 +0000 (+0200) Subject: sched: optimize task_new_fair() X-Git-Tag: v2.6.24-rc1~1289^2~97 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87fefa381ef27f46c1182622ea01eb9504cd2e24;p=pandora-kernel.git sched: optimize task_new_fair() due to the fact that we no longer keep the 'current' within the tree, dequeue/enqueue_entity() is useless for the 'current' in task_new_fair(). We are about to reschedule and sched_class->put_prev_task() will put the 'current' back into the tree, based on its new key. text data bss dec hex filename 24388 2734 20 27142 6a06 sched.o.before 24341 2734 20 27095 69d7 sched.o.after Signed-off-by: Dmitry Adamushko Signed-off-by: Ingo Molnar Signed-off-by: Peter Zijlstra Reviewed-by: Thomas Gleixner --- Reading git-diff-tree failed