From: Dmitry Adamushko Date: Mon, 15 Oct 2007 15:00:07 +0000 (+0200) Subject: sched: do not keep current in the tree and get rid of sched_entity::fair_key X-Git-Tag: v2.6.24-rc1~1289^2~99 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30cfdcfc5f180fc21a3dad6ae3b7b2a9ee112186;p=pandora-kernel.git sched: do not keep current in the tree and get rid of sched_entity::fair_key Get rid of 'sched_entity::fair_key'. As a side effect, 'current' is not kept withing the tree for SCHED_NORMAL/BATCH tasks anymore. This simplifies some parts of code (e.g. entity_tick() and yield_task_fair()) and also somewhat optimizes them (e.g. a single update_curr() now vs. dequeue/enqueue() before in entity_tick()). Signed-off-by: Dmitry Adamushko Signed-off-by: Ingo Molnar Signed-off-by: Peter Zijlstra Reviewed-by: Thomas Gleixner --- Reading git-diff-tree failed