mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-27 04:22:58 +00:00
sched/balancing: Rename run_rebalance_domains() => sched_balance_softirq()
run_rebalance_domains() is a misnomer, as it doesn't only run rebalance_domains(), but since the introduction of the NOHZ code it also runs nohz_idle_balance(). Rename it to sched_balance_softirq(), reflecting its more generic purpose and that it's a softirq handler. Signed-off-by: Ingo Molnar <mingo@kernel.org> Reviewed-by: Valentin Schneider <vschneid@redhat.com> Reviewed-by: Shrikanth Hegde <sshegde@linux.ibm.com> Link: https://lore.kernel.org/r/20240308111819.1101550-2-mingo@kernel.org
This commit is contained in:
@@ -12415,7 +12415,7 @@ out:
|
||||
* - indirectly from a remote scheduler_tick() for NOHZ idle balancing
|
||||
* through the SMP cross-call nohz_csd_func()
|
||||
*/
|
||||
static __latent_entropy void run_rebalance_domains(struct softirq_action *h)
|
||||
static __latent_entropy void sched_balance_softirq(struct softirq_action *h)
|
||||
{
|
||||
struct rq *this_rq = this_rq();
|
||||
enum cpu_idle_type idle = this_rq->idle_balance;
|
||||
@@ -13216,7 +13216,7 @@ __init void init_sched_fair_class(void)
|
||||
#endif
|
||||
}
|
||||
|
||||
open_softirq(SCHED_SOFTIRQ, run_rebalance_domains);
|
||||
open_softirq(SCHED_SOFTIRQ, sched_balance_softirq);
|
||||
|
||||
#ifdef CONFIG_NO_HZ_COMMON
|
||||
nohz.next_balance = jiffies;
|
||||
|
||||
Reference in New Issue
Block a user