Skip to content
Snippets Groups Projects
Commit 9598c82d authored by Paul Turner's avatar Paul Turner Committed by Ingo Molnar
Browse files

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: default avatarPaul Turner <pjt@google.com>
Signed-off-by: default avatarPeter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/20110707053059.797714697@google.com


Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 9bbd7374
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment