|
@@ -6107,6 +6107,9 @@ int sched_group_set_shares(struct task_group *tg, unsigned long shares)
|
|
|
se = tg->se[i];
|
|
|
/* Propagate contribution to hierarchy */
|
|
|
raw_spin_lock_irqsave(&rq->lock, flags);
|
|
|
+
|
|
|
+ /* Possible calls to update_curr() need rq clock */
|
|
|
+ update_rq_clock(rq);
|
|
|
for_each_sched_entity(se)
|
|
|
update_cfs_shares(group_cfs_rq(se));
|
|
|
raw_spin_unlock_irqrestore(&rq->lock, flags);
|