sched/fair: Remove repeated words in a comment

Message ID 20230707024420.93140-1-rui.zhang@intel.com
State New
Headers
Series sched/fair: Remove repeated words in a comment |

Commit Message

Zhang, Rui July 7, 2023, 2:44 a.m. UTC
  Remove repeated words in a comment.

Signed-off-by: Zhang Rui <rui.zhang@intel.com>
---
 kernel/sched/fair.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
  

Comments

Ricardo Neri July 12, 2023, 6:36 p.m. UTC | #1
On Fri, Jul 07, 2023 at 10:44:20AM +0800, Zhang Rui wrote:
> Remove repeated words in a comment.
> 
> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
> ---
>  kernel/sched/fair.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
> index a80a73909dc2..2d6f47eecb66 100644
> --- a/kernel/sched/fair.c
> +++ b/kernel/sched/fair.c
> @@ -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 <ricardo.neri-calderon@linux.intel.com>
  

Patch

diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index a80a73909dc2..2d6f47eecb66 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -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