Skip to contentSkip to conversation

sched/fair: Fix a comment of function rebalance_domains()

PATCH New chenxiang 1 participant 1 message Jun 22, 2021 Scheduler

lore
Share & tools
lore

chenxiang

author
#0 lore raw

PATCH 1/1 sched/fair: Fix a comment of function rebalance_domains()

From: Xiang Chen <[email protected]>

Use sched_init_domains instead of init_sched_domains which is not existed in kernel.

---
 kernel/sched/fair.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/sched/fair.c +1 -1
index 161b92a..3021f28 100644
@@ -10026,7 +10026,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.8.1