@@ -6693,7 +6693,7 @@ static inline int is_rd_overutilized(struct root_domain *rd)
6693
6693
return !sched_energy_enabled () || READ_ONCE (rd -> overutilized );
6694
6694
}
6695
6695
6696
- static inline void set_rd_overutilized_status (struct root_domain * rd ,
6696
+ static inline void set_rd_overutilized (struct root_domain * rd ,
6697
6697
unsigned int status )
6698
6698
{
6699
6699
if (!sched_energy_enabled ())
@@ -6711,7 +6711,7 @@ static inline void check_update_overutilized_status(struct rq *rq)
6711
6711
*/
6712
6712
6713
6713
if (!is_rd_overutilized (rq -> rd ) && cpu_overutilized (rq -> cpu ))
6714
- set_rd_overutilized_status (rq -> rd , SG_OVERUTILIZED );
6714
+ set_rd_overutilized (rq -> rd , SG_OVERUTILIZED );
6715
6715
}
6716
6716
#else
6717
6717
static inline void check_update_overutilized_status (struct rq * rq ) { }
@@ -10660,10 +10660,10 @@ static inline void update_sd_lb_stats(struct lb_env *env, struct sd_lb_stats *sd
10660
10660
set_rd_overloaded (env -> dst_rq -> rd , sg_status & SG_OVERLOADED );
10661
10661
10662
10662
/* Update over-utilization (tipping point, U >= 0) indicator */
10663
- set_rd_overutilized_status (env -> dst_rq -> rd ,
10663
+ set_rd_overutilized (env -> dst_rq -> rd ,
10664
10664
sg_status & SG_OVERUTILIZED );
10665
10665
} else if (sg_status & SG_OVERUTILIZED ) {
10666
- set_rd_overutilized_status (env -> dst_rq -> rd , SG_OVERUTILIZED );
10666
+ set_rd_overutilized (env -> dst_rq -> rd , SG_OVERUTILIZED );
10667
10667
}
10668
10668
10669
10669
update_idle_cpu_scan (env , sum_util );
0 commit comments