sched: Compute load contribution by a group entity
authorPaul Turner <pjt@google.com>
Thu, 4 Oct 2012 11:18:31 +0000 (13:18 +0200)
committerIngo Molnar <mingo@kernel.org>
Wed, 24 Oct 2012 08:27:25 +0000 (10:27 +0200)
commit8165e145ceb62fc338e099c9b12b3239c83d2f8e
treebe494c8d97adec0615f776515875e4961a40d920
parentc566e8e9e44b72b53091da20e2dedefc730f2ee2
sched: Compute load contribution by a group entity

Unlike task entities who have a fixed weight, group entities instead own a
fraction of their parenting task_group's shares as their contributed weight.

Compute this fraction so that we can correctly account hierarchies and shared
entity nodes.

Signed-off-by: Paul Turner <pjt@google.com>
Reviewed-by: Ben Segall <bsegall@google.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/20120823141506.855074415@google.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/fair.c