aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/translations
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2024-03-08 12:18:09 +0100
committerIngo Molnar <mingo@kernel.org>2024-03-12 11:59:59 +0100
commit983be0628c061989b6cc175d2f5e429b40699fbb (patch)
tree44ee09821ff99a2cc3fe0d66671bc0a9d42a5e53 /Documentation/translations
parent86dd6c04ef9f213e14d60c9f64bce1cc019f816e (diff)
downloadlinux-983be0628c061989b6cc175d2f5e429b40699fbb.tar.gz
sched/balancing: Rename trigger_load_balance() => sched_balance_trigger()
Standardize scheduler load-balancing function names on the sched_balance_() prefix. Signed-off-by: Ingo Molnar <mingo@kernel.org> Reviewed-by: Shrikanth Hegde <sshegde@linux.ibm.com> Link: https://lore.kernel.org/r/20240308111819.1101550-4-mingo@kernel.org
Diffstat (limited to 'Documentation/translations')
-rw-r--r--Documentation/translations/zh_CN/scheduler/sched-domains.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/translations/zh_CN/scheduler/sched-domains.rst b/Documentation/translations/zh_CN/scheduler/sched-domains.rst
index fa0c0bcc6ba545..1a8587a971f9ee 100644
--- a/Documentation/translations/zh_CN/scheduler/sched-domains.rst
+++ b/Documentation/translations/zh_CN/scheduler/sched-domains.rst
@@ -34,7 +34,7 @@ CPU共享。任意两个组的CPU掩码的交集不一定为空,如果是这
调度域中的负载均衡发生在调度组中。也就是说,每个组被视为一个实体。组的负载被定义为它
管辖的每个CPU的负载之和。仅当组的负载不均衡后,任务才在组之间发生迁移。
-在kernel/sched/core.c中,trigger_load_balance()在每个CPU上通过sched_tick()
+在kernel/sched/core.c中,sched_balance_trigger()在每个CPU上通过sched_tick()
周期执行。在当前运行队列下一个定期调度再平衡事件到达后,它引发一个软中断。负载均衡真正
的工作由sched_balance_softirq()->rebalance_domains()完成,在软中断上下文中执行
(SCHED_SOFTIRQ)。