[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201202220641.22752-1-song.bao.hua@hisilicon.com>
Date: Thu, 3 Dec 2020 11:06:41 +1300
From: Barry Song <song.bao.hua@...ilicon.com>
To: <mingo@...hat.com>, <peterz@...radead.org>,
<juri.lelli@...hat.com>, <vincent.guittot@...aro.org>,
<dietmar.eggemann@....com>, <rostedt@...dmis.org>,
<bsegall@...gle.com>, <mgorman@...e.de>, <bristot@...hat.com>,
<trivial@...nel.org>
CC: <linux-kernel@...r.kernel.org>, <linuxarm@...wei.com>,
Barry Song <song.bao.hua@...ilicon.com>
Subject: [PATCH] sched/fair: trivial correction of the comment of newidle_balance
idle_balance() has been renamed to newidle_balance(). To differentiate
with nohz_idle_balance, it seems refining the comment will be helpful
for the readers of the code.
Signed-off-by: Barry Song <song.bao.hua@...ilicon.com>
---
kernel/sched/fair.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index ae7ceba8fd4f..c1f86b8bdfda 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -10505,7 +10505,7 @@ static inline void nohz_newidle_balance(struct rq *this_rq) { }
#endif /* CONFIG_NO_HZ_COMMON */
/*
- * idle_balance is called by schedule() if this_cpu is about to become
+ * newidle_balance is called by schedule() if this_cpu is about to become
* idle. Attempts to pull tasks from other CPUs.
*
* Returns:
--
2.25.1
Powered by blists - more mailing lists