Skip to contentSkip to conversation

sched/fair: Fix a typo in comments of get_sd_load_idx()

PATCH New Kamalesh Babulal 2 participants 2 messages Oct 13, 2013 – Oct 14, 2013 Scheduler

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sched/fair: Fix a typo in comments of get_sd_load_idx()

Fix a trival typo in description of idle in comments of get_sd_load_idx().

---
 kernel/sched/fair.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/sched/fair.c +1 -1
index 82746796578d..b234b869470f 100644
@@ -5206,7 +5206,7 @@ static inline void init_sd_lb_stats(struct sd_lb_stats *sds)
 /**
  * get_sd_load_idx - Obtain the load index for a given sched domain.
  * @sd: The sched_domain whose load_idx is to be obtained.
- * @idle: The Idle status of the CPU for whose sd load_icx is obtained.
+ * @idle: The Idle status of the CPU for whose sd load_idx is obtained.
  *
  * Return: The load index.
  */
Signature · 1 line
1.8.4.474.g128a96c
#1 lore raw

[tip:sched/core] sched/fair: Fix trivial typos in comments

sched/fair: Fix trivial typos in comments
Commit-ID:  ed1b7732868035990f07aeb532b1d86272ea909e
Gitweb:     http://git.kernel.org/tip/ed1b7732868035990f07aeb532b1d86272ea909e
Author:     Kamalesh Babulal <[email protected]>
AuthorDate: Sun, 13 Oct 2013 23:06:15 +0530
Committer:  Ingo Molnar <[email protected]>
CommitDate: Mon, 14 Oct 2013 09:22:55 +0200

sched/fair: Fix trivial typos in comments

- 'load_icx' => 'load_idx'
- 'calculcate_imbalance' => 'calculate_imbalance'

---
 kernel/sched/fair.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
kernel/sched/fair.c +2 -2
index 8274679..4aa0b10 100644
@@ -5206,7 +5206,7 @@ static inline void init_sd_lb_stats(struct sd_lb_stats *sds)
 /**
  * get_sd_load_idx - Obtain the load index for a given sched domain.
  * @sd: The sched_domain whose load_idx is to be obtained.
- * @idle: The Idle status of the CPU for whose sd load_icx is obtained.
+ * @idle: The idle status of the CPU for whose sd load_idx is obtained.
  *
  * Return: The load index.
  */
@@ -5412,7 +5412,7 @@ fix_small_capacity(struct sched_domain *sd, struct sched_group *group)
  * moving tasks due to affinity constraints.
  *
  * When this is so detected; this group becomes a candidate for busiest; see
- * update_sd_pick_busiest(). And calculcate_imbalance() and
+ * update_sd_pick_busiest(). And calculate_imbalance() and
  * find_busiest_group() avoid some of the usual balance conditions to allow it
  * to create an effective group imbalance.
  *