[COMMON] sched: fair: Add to update max cpu capacity on update_cpu_capacity.
authorlakkyung.jung <lakkyung.jung@samsung.com>
Mon, 19 Mar 2018 12:29:17 +0000 (21:29 +0900)
committerChungwoo Park <cww.park@samsung.com>
Mon, 21 May 2018 08:37:30 +0000 (17:37 +0900)
Change-Id: I4835f48130055cd926e79d9b04e46fddabe378a4
Signed-off-by: lakkyung.jung <lakkyung.jung@samsung.com>
kernel/sched/fair.c

index bc6ce0bc170e64ae198310bc55a88dc908aab082..27268c83de98ce9fc670ec7351d4f5be35471392 100644 (file)
@@ -8768,6 +8768,7 @@ static void update_cpu_capacity(struct sched_domain *sd, int cpu)
        cpu_rq(cpu)->cpu_capacity = capacity;
        sdg->sgc->capacity = capacity;
        sdg->sgc->min_capacity = capacity;
+       sdg->sgc->max_capacity = capacity;
 }
 
 void update_group_capacity(struct sched_domain *sd, int cpu)