aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched
diff options
context:
space:
mode:
authorBarry Song <song.bao.hua@hisilicon.com>2020-12-03 11:06:41 +1300
committerIngo Molnar <mingo@kernel.org>2020-12-11 10:30:44 +0100
commit5b78f2dc315354c05300795064f587366a02c6ff (patch)
tree761b0389aa6fb8fc584f1e5c009ed4a04a6e5ff8 /kernel/sched
parentsched/fair: Clear SMT siblings after determining the core is not idle (diff)
downloadlinux-dev-5b78f2dc315354c05300795064f587366a02c6ff.tar.xz
linux-dev-5b78f2dc315354c05300795064f587366a02c6ff.zip
sched/fair: Trivial correction of the newidle_balance() comment
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@hisilicon.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Signed-off-by: Ingo Molnar <mingo@kernel.org> Link: https://lkml.kernel.org/r/20201202220641.22752-1-song.bao.hua@hisilicon.com
Diffstat (limited to 'kernel/sched')
-rw-r--r--kernel/sched/fair.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index efac224c703f..04a3ce20da67 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -10550,7 +10550,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: