sched: Simplify update_cfs_shares parameters
authorPaul Turner <pjt@google.com>
Sat, 22 Jan 2011 04:45:01 +0000 (20:45 -0800)
committerIngo Molnar <mingo@elte.hu>
Wed, 26 Jan 2011 11:33:19 +0000 (12:33 +0100)
commit6d5ab2932a21ea54406ab95c43ecff90a3eddfda
tree0d2ad00378aec0888426997f8f8dc5d7a3b8a602
parent05ca62c6ca17f39b88fa956d5ebc1fa6e93ad5e3
sched: Simplify update_cfs_shares parameters

Re-visiting this: Since update_cfs_shares will now only ever re-weight an
entity that is a relative parent of the current entity in enqueue_entity; we
can safely issue the account_entity_enqueue relative to that cfs_rq and avoid
the requirement for special handling of the enqueue case in update_cfs_shares.

Signed-off-by: Paul Turner <pjt@google.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <20110122044851.915214637@google.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c
kernel/sched_fair.c