diff options
| author | Ingo Molnar <mingo@kernel.org> | 2024-03-08 12:18:11 +0100 |
|---|---|---|
| committer | Ingo Molnar <mingo@kernel.org> | 2024-03-12 12:00:00 +0100 |
| commit | 4c3e509ea9f249458e8692f8298cceac73105948 (patch) | |
| tree | f2483ac2958d6bc6147a76d444a81888a0154b42 /include | |
| parent | 14ff4dbd34f46cc6b6105f549983321241ccbba9 (diff) | |
| download | lwn-4c3e509ea9f249458e8692f8298cceac73105948.tar.gz lwn-4c3e509ea9f249458e8692f8298cceac73105948.zip | |
sched/balancing: Rename load_balance() => sched_balance_rq()
Standardize scheduler load-balancing function names on the
sched_balance_() prefix.
Also load_balance() has become somewhat of a misnomer: historically
it was the first and primary load-balancing function that was called,
but with the introduction of sched domains, it's become a lower
layer function that balances runqueues.
Rename it to sched_balance_rq() accordingly.
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Shrikanth Hegde <sshegde@linux.ibm.com>
Link: https://lore.kernel.org/r/20240308111819.1101550-6-mingo@kernel.org
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/sched/topology.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/sched/topology.h b/include/linux/sched/topology.h index 18572c9ea724..c8fe9bab981b 100644 --- a/include/linux/sched/topology.h +++ b/include/linux/sched/topology.h @@ -110,7 +110,7 @@ struct sched_domain { unsigned long last_decay_max_lb_cost; #ifdef CONFIG_SCHEDSTATS - /* load_balance() stats */ + /* sched_balance_rq() stats */ unsigned int lb_count[CPU_MAX_IDLE_TYPES]; unsigned int lb_failed[CPU_MAX_IDLE_TYPES]; unsigned int lb_balanced[CPU_MAX_IDLE_TYPES]; |
