From: Paul Turner Date: Thu, 7 Jul 2011 05:30:37 +0000 (-0700) Subject: sched: Don't update shares twice on on_rq parent X-Git-Tag: v3.1-rc1~298^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9598c82dcacadc3b9daa8170613fd054c6124d30;p=pandora-kernel.git sched: Don't update shares twice on on_rq parent In dequeue_task_fair() we bail on dequeue when we encounter a parenting entity with additional weight. However, we perform a double shares update on this entity as we continue the shares update traversal from this point, despite dequeue_entity() having already updated its queuing cfs_rq. Avoid this by starting from the parent when we resume. Signed-off-by: Paul Turner Signed-off-by: Peter Zijlstra Link: http://lkml.kernel.org/r/20110707053059.797714697@google.com Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed