428 Star 1.6K Fork 1.6K

GVPopenEuler/kernel

 / 详情

[OLK-5.10] Add smart halt polling and schedule wakeup ipi optimization

已完成
需求 成员
创建于  
2021-10-15 11:32

ipi-passthrough: 在idle polling状态下,节省核间ipi通信

评论 (3)

zhengzengkai 创建了需求 4年前
zhengzengkai 关联分支设置为OLK-5.10 4年前
zhengzengkai 关联仓库设置为openEuler/kernel 4年前
openeuler-ci-bot 添加了
 
sig/Kernel
标签
4年前
展开全部操作日志

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

zhengzengkai 任务状态新建 修改为已完成 4年前
成坚 (CHENG Jian) 修改了描述 4年前
+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 唤醒

登录 后才可以发表评论

状态
负责人
项目
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(3)
5329419 openeuler ci bot 1632792936 zhengzengkai-zhengzengkai 成坚  (CHENG Jian)-gatieme
C
1
https://gitee.com/openeuler/kernel.git
git@gitee.com:openeuler/kernel.git
openeuler
kernel
kernel

搜索帮助