diff options
author | Ingo Molnar <mingo@kernel.org> | 2024-03-08 12:18:14 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2024-03-12 12:00:00 +0100 |
commit | 82cf921432fc184adbbb9c1bced182564876ec5e (patch) | |
tree | 2aec44f8f0f4a8e391bc1cad69cc82c35ec44c9c /kernel/sched/pelt.c | |
parent | sched/balancing: Rename find_busiest_queue() => sched_balance_find_src_rq() (diff) | |
download | linux-82cf921432fc184adbbb9c1bced182564876ec5e.tar.xz linux-82cf921432fc184adbbb9c1bced182564876ec5e.zip |
sched/balancing: Rename find_busiest_group() => sched_balance_find_src_group()
Make two naming changes:
1)
Standardize scheduler load-balancing function names on the
sched_balance_() prefix.
2)
Similar to find_busiest_queue(), the find_busiest_group() naming
has become a bit of a misnomer: the 'busiest' qualifier to this
function was historically correct but in the current code
in quite a few cases we will not pick the 'busiest' group - but the best
(possible) group we can balance from based on a complex set of
constraints.
So name it a bit more neutrally, similar to the 'src/dst' nomenclature
we are already using when moving tasks between runqueues, and also
use the sched_balance_ prefix: sched_balance_find_src_group().
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Shrikanth Hegde <sshegde@linux.ibm.com>
Link: https://lore.kernel.org/r/20240308111819.1101550-9-mingo@kernel.org
Diffstat (limited to 'kernel/sched/pelt.c')
0 files changed, 0 insertions, 0 deletions