Skip to content

Commit

Permalink
sched/fair: Trivial correction of the newidle_balance() comment
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Barry Song authored and Ingo Molnar committed Dec 11, 2020
1 parent 13d5a5e commit 5b78f2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/sched/fair.c
Expand Up @@ -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:
Expand Down

0 comments on commit 5b78f2d

Please sign in to comment.