sched/balancing: Update run_rebalance_domains() comments
authorIngo Molnar <mingo@kernel.org>
Fri, 8 Mar 2024 10:58:59 +0000 (11:58 +0100)
committerIngo Molnar <mingo@kernel.org>
Tue, 12 Mar 2024 10:59:43 +0000 (11:59 +0100)
commit3dc6f6c8efe2d9148865664fffbe9dd89fb0d157
treeab72a84ca07f2643ea8a687150f699300f7565a0
parent3a5fe9305719c680ccf63216781a4d4068c8e3f3
sched/balancing: Update run_rebalance_domains() comments

The first sentence of the comment explaining run_rebalance_domains()
is historic and not true anymore:

    * run_rebalance_domains is triggered when needed from the scheduler tick.

... contradicted/modified by the second sentence:

    * Also triggered for NOHZ idle balancing (with NOHZ_BALANCE_KICK set).

Avoid that kind of confusion straight away and explain from what
places sched_balance_softirq() is triggered.

Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Vincent Guittot <vincent.guittot@linaro.org>
Acked-by: Valentin Schneider <vschneid@redhat.com>
Link: https://lore.kernel.org/r/20240308105901.1096078-9-mingo@kernel.org
kernel/sched/fair.c