日期范围
231
全部讨论数
Bugfix重要分析 success作者:Mete Durlu2026/08/09 18:033 封邮件

[PATCH] sched/fair: Make is_core_idle() check all cpus in a core

Mete Durlu 提单 patch 删除 is_core_idle() 里的 self-skip,让函数按整核 idle 语义返回。Zhan Xusheng 在 review 中指出 sched_balance_newidle() 路径上 env->dst_cpu 就是 this_cpu 且 rq->curr 还是 outgoing task,删除 skip 后 env->dst_core_idle 变 false,会让 misfit 闸门与 sched_use_asym_prio() 失效,回归只发生在 powerpc / x86 ITMT / arm64 big.LITTLE / x8...

lore
Bugfix重要分析 success作者:Ricardo Neri2026/08/08 17:4418 封邮件

[PATCH v6 0/6] sched: Fix cluster scheduling in the presence of asymmetric capacity

Ricardo Neri 提交的 v6 系列(6 patches)针对 big.LITTLE/hybrid CPU 拓扑中集群调度失效的问题,依次修复 SMT busy sibling 误判、sg_overloaded gating、busiest 选组顺序、misfit 累加、identical-capacity 跳过以及 SD_PREFER_SIBLING 缺失五个相互关联的 bug。该系列已被 Peter Zijlstra 合并到 sched/core tip 分支,覆盖 Alder Lake、Lunar Lake、Panther Lake、qemu arm64 与 Vera Rubin...

lore
Bugfix重要分析 success作者:Shubhang Kaushik (Ampere)2026/08/08 04:244 封邮件

[PATCH v2] sched/core: Skip rq->avg_idle update without a valid idle_stamp

该 patch 修复 commit 4b603f1551a73 将 rq->avg_idle 记账搬到 put_prev_task_idle() 后丢失的 rq->idle_stamp 合法性检查;通过在 update_rq_avg_idle() 入口加 if (!idle_stamp) return,避免 stamp=0 时被退化成 rq_clock(rq) 的大样本把 avg_idle 推到 clamp。Zhan 在 review 中进一步定位真正高频触发路径是 sched_balance_newidle 的 ttwu_pending 早返回,建议在 changelog 中显式点名。

lore
其它分析 success作者:Liang Hao2026/08/07 23:071 封邮件

[PATCH] sched/deadline: Do not pull when the local CPU is the only overloaded one

本 patch 把 RT 调度器 commit f73c52a5bcd1 中已有的 "pull 端短路" 镜像到 DEADLINE 调度器的 pull_dl_task():当 dlo_count==1 且本 CPU 拥有唯一的 dlo_mask bit 时直接返回,避免 for_each_cpu() 循环在本地 CPU 上空转。改动只动 kernel/sched/deadline.c 一处 +7/-1,作者明确说明无功能变化,仅做对称补齐和微小性能优化。

lore
其它重要分析 success作者:Usama Arif2026/08/07 17:522 封邮件

[PATCH v2] sched/psi: use __ffs() to walk task-count bitmasks in psi_group_change()

把 psi_group_change() 中遍历 clear/set 4-bit 掩码的写法从线性扫到最高位改为 __ffs()+m&=m-1,按置位数而不是位宽工作。微基准在常见 PSI mask 分布上提速 47-63%,生成代码减少 67 字节;属性能/可读性双优的 patch 清理。

lore
每页
上一页24 / 47下一页