diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index 01986432a..6ea38132c 100755 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -8535,11 +8535,6 @@ void update_group_capacity(struct sched_domain *sd, int cpu) struct sched_domain *child = sd->child; struct sched_group *group, *sdg = sd->groups; unsigned long capacity, min_capacity, max_capacity; - unsigned long interval; - - interval = msecs_to_jiffies(sd->balance_interval); - interval = clamp(interval, 1UL, max_load_balance_interval); - sdg->sgc->next_update = jiffies + interval; if (!child) { update_cpu_capacity(sd, cpu); @@ -9331,10 +9326,6 @@ static inline void update_sd_lb_stats(struct lb_env *env, struct sd_lb_stats *sd if (local_group) { sds->local = sg; sgs = local; - - if (env->idle != CPU_NEWLY_IDLE || - time_after_eq(jiffies, sg->sgc->next_update)) - update_group_capacity(env->sd, env->dst_cpu); } update_sg_lb_stats(env, sg, sgs, &sg_status);