Skip to contentSkip to conversation

sched/fair : Fix the comment for rebalance_domains()

PATCH New Gautham R. Shenoy 1 participant 1 message Oct 3, 2021 Scheduler

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sched/fair : Fix the comment for rebalance_domains()

The function init_sched_domains() was renamed to sched_init_domains() by the commit 8d5dc5126bb2 ("sched/topology: Small cleanup"). However, the comment prior to rebalance_domains() still refers to init_sched_domains(). Fix the comment to refer to the current name of the function.

---
 kernel/sched/fair.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/sched/fair.c +1 -1
index 8943dbb94365..93facfb9b974 100644
@@ -10211,7 +10211,7 @@ void update_max_interval(void)
  * It checks each scheduling domain to see if it is due to be balanced,
  * and initiates a balancing operation if so.
  *
- * Balancing parameters are set up in init_sched_domains.
+ * Balancing parameters are set up in sched_init_domains.
  */
 static void rebalance_domains(struct rq *rq, enum cpu_idle_type idle)
 {
Signature · 1 line
2.25.1