sched/balancing: Rename find_idlest_group_cpu() => sched_balance_find_dst_group_cpu()
authorIngo Molnar <mingo@kernel.org>
Fri, 8 Mar 2024 11:18:17 +0000 (12:18 +0100)
committerIngo Molnar <mingo@kernel.org>
Tue, 12 Mar 2024 11:00:00 +0000 (12:00 +0100)
commit646ebaf51c64c6416ca89765c20041363fc1b518
tree7ccb0c9e054817ac0c2808c479feb0dad83fcffe
parent7d058285cd77cc1411c91efd1b1673530bb1bee8
sched/balancing: Rename find_idlest_group_cpu() => sched_balance_find_dst_group_cpu()

Standardize scheduler load-balancing function names on the
sched_balance_() prefix.

Also use 'dst' instead of 'idlest': while historically correct,
today it's not really true anymore that we return the 'idlest'
group or CPU, we sort by idle-exit latency and only return the
idlest CPUs from the lowest-latency set of CPUs.

The true 'idlest' CPUs often remain idle for a long time
and are never returned as long as the system is under-loaded.

Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Shrikanth Hegde <sshegde@linux.ibm.com>
Link: https://lore.kernel.org/r/20240308111819.1101550-12-mingo@kernel.org
kernel/sched/fair.c