[PATCH 13/27] sched: Update rq clock on nohz CPU before setting fair group shares

2012-12-29 Thread Frederic Weisbecker
Because we may update the execution time (sched_group_set_shares()-> update_cfs_shares()->reweight_entity()->update_curr()) before reweighting the entity after updating the group shares and this requires an uptodate version of the runqueue clock. Let's update it on the target CPU if it

[PATCH 13/27] sched: Update rq clock on nohz CPU before setting fair group shares

2012-12-29 Thread Frederic Weisbecker
Because we may update the execution time (sched_group_set_shares()- update_cfs_shares()-reweight_entity()-update_curr()) before reweighting the entity after updating the group shares and this requires an uptodate version of the runqueue clock. Let's update it on the target CPU if it runs