Skip to contentSkip to conversation

sched/fair: Remove repeated words in a comment

PATCH In review Zhang Rui 2 participants 2 messages Jul 7, 2023 – Jul 12, 2023 Scheduler

lore
Share & tools
lore

Zhang Rui

author
#0 lore raw

PATCH 1/1 sched/fair: Remove repeated words in a comment

Remove repeated words in a comment.

---
 kernel/sched/fair.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
kernel/sched/fair.c +2 -2
index a80a73909dc2..2d6f47eecb66 100644
@@ -10700,8 +10700,8 @@ asym_active_balance(struct lb_env *env)
 	/*
 	 * ASYM_PACKING needs to force migrate tasks from busy but lower
 	 * priority CPUs in order to pack all tasks in the highest priority
-	 * CPUs. When done between cores, do it only if the whole core if the
-	 * whole core is idle.
+	 * CPUs. When done between cores, do it only if the whole core is
+	 * idle.
 	 *
 	 * If @env::src_cpu is an SMT core with busy siblings, let
 	 * the lower priority @env::dst_cpu help it. Do not follow
Signature · 1 line
2.34.1
#1 lore raw
Quoted 12 lines · Zhang Rui

Remove repeated words in a comment.

---
 kernel/sched/fair.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
kernel/sched/fair.c +0 -0
index a80a73909dc2..2d6f47eecb66 100644

kernel/sched/fair.c asym_active_balance(struct lb_env *env) · line 10704

Quoted 7 lines
kernel/sched/fair.c +2 -2
@@ -10700,8 +10700,8 @@ asym_active_balance(struct lb_env *env)
 	/*
 	 * ASYM_PACKING needs to force migrate tasks from busy but lower
 	 * priority CPUs in order to pack all tasks in the highest priority
-	 * CPUs. When done between cores, do it only if the whole core if the
-	 * whole core is idle.
+	 * CPUs. When done between cores, do it only if the whole core is
+	 * idle.

Ah! I missed this.

FWIW, Reviewed-by: Ricardo Neri <[email protected]>