Skip to content

Commit 5b78f2d

Browse files
Barry Songingomolnar
authored andcommitted
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
1 parent 13d5a5e commit 5b78f2d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

kernel/sched/fair.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10550,7 +10550,7 @@ static inline void nohz_newidle_balance(struct rq *this_rq) { }
1055010550
#endif /* CONFIG_NO_HZ_COMMON */
1055110551

1055210552
/*
10553-
* idle_balance is called by schedule() if this_cpu is about to become
10553+
* newidle_balance is called by schedule() if this_cpu is about to become
1055410554
* idle. Attempts to pull tasks from other CPUs.
1055510555
*
1055610556
* Returns:

0 commit comments

Comments
 (0)