Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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@kernel.org>
Cc: Qais Yousef <qyousef@layalina.io>
Cc: Shrikanth Hegde <sshegde@linux.ibm.com>
Cc: Vincent Guittot <vincent.guittot@linaro.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/ZgVHq65XKsOZpfgK@gmail.com

+4 -4
+4 -4
kernel/sched/fair.c
··· 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 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 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);