Skip to contentSkip to conversation

sched: Fix comment of function rebalance_domains

PATCH New Libin 2 participants 2 messages Apr 1, 2013 – Apr 10, 2013 Scheduler

lore
Share & tools
lore

Libin

author
#0 lore raw

PATCH 1/1 sched: Fix comment of function rebalance_domains

The comment of function rebalance_domains mentions arch_init_sched_domains, but this function don't exist. The proper function is init_sched_domains.

---
 kernel/sched/fair.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
kernel/sched/fair.c +1 -1
index 7a33e59..3a0d40b 100644
@@ -5468,7 +5468,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 arch_init_sched_domains.
+ * Balancing parameters are set up in init_sched_domains.
  */
 static void rebalance_domains(int cpu, enum cpu_idle_type idle)
 {
Signature · 1 line
1.6.0.2
#1 lore raw

[tip:sched/core] sched: Fix comment in rebalance_domains()

sched: Fix comment in rebalance_domains()
Commit-ID:  b9b0853a4b377f84a5e6ed091816a9a2d6b10918
Gitweb:     http://git.kernel.org/tip/b9b0853a4b377f84a5e6ed091816a9a2d6b10918
Author:     Libin <[email protected]>
AuthorDate: Mon, 1 Apr 2013 19:14:01 +0800
Committer:  Ingo Molnar <[email protected]>
CommitDate: Wed, 10 Apr 2013 13:39:57 +0200

sched: Fix comment in rebalance_domains()

A comment in function rebalance_domains() mentions arch_init_sched_domains(), but that function does not exist anymore. The proper function is init_sched_domains().

---
 kernel/sched/fair.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/sched/fair.c +1 -1
index bf8ab4f..155783b 100644
@@ -5466,7 +5466,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 arch_init_sched_domains.
+ * Balancing parameters are set up in init_sched_domains.
  */
 static void rebalance_domains(int cpu, enum cpu_idle_type idle)
 {