代码拉取完成,页面将自动刷新
ipi-passthrough: 在idle polling状态下,节省核间ipi通信
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
sched/idle: Add IAS_SMART_HALT_POLL config for smart halt polling feature
sched/idle: introduce smart halt polling
arm: Optimize ttwu IPI
arm64: Optimize ttwu IPI
+config IAS_SMART_HALT_POLL
+ bool "Enable smart halt poll"
+ default n
+ help
+ Before entering the real idle, polling for a while. if the current
+ task is set TIF_NEED_RESCHED during the polling process, it will
+ immediately break from the polling loop.
在 CPU 进入 idle 之前
commit | 描述 |
---|---|
sched/idle: Add IAS_SMART_HALT_POLL config for smart halt polling feature | 引入 IAS_SMART_HALT_POLL,控制所有的代码。 |
1bbe05d23171 sched/idle: introduce smart halt polling | 引入 poll_threshold_ns 在 CPU 即将进入 idle 的时候,先不进入 IDLE 状态,而是 cpu_relax 一段时间(通过参数poll_threshold_ns)控制。 |
33adabdde1ea arm: Optimize ttwu IPI | polling IDLE 的核不需要 IPI 唤醒 |
登录 后才可以发表评论