From: Barry Song Date: Wed, 2 Dec 2020 22:06:41 +0000 (+1300) Subject: sched/fair: Trivial correction of the newidle_balance() comment X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=5b78f2dc315354c05300795064f587366a02c6ff;p=linux.git 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 Signed-off-by: Peter Zijlstra (Intel) Signed-off-by: Ingo Molnar Link: https://lkml.kernel.org/r/20201202220641.22752-1-song.bao.hua@hisilicon.com --- diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index efac224c703fd..04a3ce20da671 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: