The following commit has been merged into the sched/core branch of tip: Commit-ID: 4d0a63e5b841c759c9a306aff158420421ef016f Gitweb: https://git.kernel.org/tip/4d0a63e5b841c759c9a306aff158420421ef016f Author: Ingo Molnar <mingo@xxxxxxxxxx> AuthorDate: Thu, 28 Mar 2024 11:54:42 +01:00 Committer: Ingo Molnar <mingo@xxxxxxxxxx> CommitterDate: Thu, 28 Mar 2024 11:54:42 +01:00 sched/fair: Rename set_rd_overutilized_status() to set_rd_overutilized() The _status() postfix has no real meaning, simplify the naming and harmonize it with set_rd_overloaded(). Signed-off-by: Ingo Molnar <mingo@xxxxxxxxxx> Cc: Qais Yousef <qyousef@xxxxxxxxxxx> Cc: Shrikanth Hegde <sshegde@xxxxxxxxxxxxx> Cc: Vincent Guittot <vincent.guittot@xxxxxxxxxx> Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx> Link: https://lore.kernel.org/r/ZgVHq65XKsOZpfgK@xxxxxxxxx --- kernel/sched/fair.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index 839a97a..f29efd5 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -6693,7 +6693,7 @@ static inline int is_rd_overutilized(struct root_domain *rd) return !sched_energy_enabled() || READ_ONCE(rd->overutilized); } -static inline void set_rd_overutilized_status(struct root_domain *rd, +static inline void set_rd_overutilized(struct root_domain *rd, unsigned int status) { if (!sched_energy_enabled()) @@ -6711,7 +6711,7 @@ static inline void check_update_overutilized_status(struct rq *rq) */ if (!is_rd_overutilized(rq->rd) && cpu_overutilized(rq->cpu)) - set_rd_overutilized_status(rq->rd, SG_OVERUTILIZED); + set_rd_overutilized(rq->rd, SG_OVERUTILIZED); } #else 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 set_rd_overloaded(env->dst_rq->rd, sg_status & SG_OVERLOADED); /* Update over-utilization (tipping point, U >= 0) indicator */ - set_rd_overutilized_status(env->dst_rq->rd, + set_rd_overutilized(env->dst_rq->rd, sg_status & SG_OVERUTILIZED); } else if (sg_status & SG_OVERUTILIZED) { - set_rd_overutilized_status(env->dst_rq->rd, SG_OVERUTILIZED); + set_rd_overutilized(env->dst_rq->rd, SG_OVERUTILIZED); } update_idle_cpu_scan(env, sum_util);