aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/sched/fair.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index f62b16dfba63..f76ca21711bb 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -6107,6 +6107,9 @@ int sched_group_set_shares(struct task_group *tg, unsigned long shares)
6107 se = tg->se[i]; 6107 se = tg->se[i];
6108 /* Propagate contribution to hierarchy */ 6108 /* Propagate contribution to hierarchy */
6109 raw_spin_lock_irqsave(&rq->lock, flags); 6109 raw_spin_lock_irqsave(&rq->lock, flags);
6110
6111 /* Possible calls to update_curr() need rq clock */
6112 update_rq_clock(rq);
6110 for_each_sched_entity(se) 6113 for_each_sched_entity(se)
6111 update_cfs_shares(group_cfs_rq(se)); 6114 update_cfs_shares(group_cfs_rq(se));
6112 raw_spin_unlock_irqrestore(&rq->lock, flags); 6115 raw_spin_unlock_irqrestore(&rq->lock, flags);