From f9a3bc1ed4a8908a1190ceba73e3697c6ead5c32 Mon Sep 17 00:00:00 2001
From: Liu Xinpeng <liuxp11@chinatelecom.cn>
Date: Mon, 25 Oct 2021 11:46:25 +0800
Subject: [PATCH] psi: Remove repeated verbose comment
References: bnc#1189999 (Scheduler functional and performance backports)
Patch-mainline: v5.17
Git-commit: 2d3791f116bb3d5b17571dadb8e085e12ae3a3cf
Comment in function psi_task_switch,there are two same lines.
...
* runtime state, the cgroup that contains both tasks
* runtime state, the cgroup that contains both tasks
...
Signed-off-by: Liu Xinpeng <liuxp11@chinatelecom.cn>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Link: https://lore.kernel.org/r/1635133586-84611-1-git-send-email-liuxp11@chinatelecom.cn
Signed-off-by: Mel Gorman <mgorman@suse.de>
---
kernel/sched/psi.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/kernel/sched/psi.c b/kernel/sched/psi.c
index 232b4c05eebc..d568d1221794 100644
--- a/kernel/sched/psi.c
+++ b/kernel/sched/psi.c
@@ -833,7 +833,6 @@ void psi_task_switch(struct task_struct *prev, struct task_struct *next,
/*
* When switching between tasks that have an identical
* runtime state, the cgroup that contains both tasks
- * runtime state, the cgroup that contains both tasks
* we reach the first common ancestor. Iterate @next's
* ancestors only until we encounter @prev's ONCPU.
*/