日期范围
113
全部讨论数
其它重要分析 success作者:Andrea Righi2026/07/21 13:1533 封邮件

[PATCHSET v7 sched_ext/for-7.3] sched: Make proxy execution compatible with sched_ext

Andrea Righi 发布 v7 patchset,引入 SCX_OPS_ENQ_BLOCKED 让 BPF 调度器接管 mutex-blocked donor 的 admission,统一 rq->donor(调度上下文)与 rq->curr(执行上下文)口径,并修掉 NOHZ bandwidth 漏判、consume_remote_task TOCTOU 竞争、running/stopping 配对三处回归。Tejun 要求 TOCTOU 修复合围在 proxy-exec 条件内;John Stultz 提出 scx_pair 走 wakeup 路径仍会触发 WARN_ON 与 scx...

lore
Bugfix重要分析 success作者:Tejun Heo2026/07/20 17:416 封邮件

[PATCHSET sched_ext/for-7.3] sched_ext: Sub-scheduler and cid fixes

Tejun Heo 提交三个 sched_ext bugfix:修正 bypass 子调度器 stall 归责从任务 owner 改为 DSQ owner;bypass 下跳过无效的默认 CPU 选择直接返回 prev_cpu;防护 cid kfunc 在首次 enable 竞态窗口的 NULL 表解引用,返回 -EINVAL 或全负 topo。涉及 ext.c、cid.c、cid.h,+42/−12。

lore
Bugfix重要分析 success作者:Tejun Heo2026/07/20 15:4314 封邮件

[PATCHSET sched_ext/for-7.3] sched_ext: Cgroup migration and op delivery for sub-schedulers

cgroup 迁移跨子调度器边界时任务不 re-home,导致 use-after-free 和错误调度。本系列新增 cgroup task migration notifier 实现三阶段 re-home(init → commit → cancel),并将 cgroup op 按 task_group topology 投递到对应 sched 而非固定 root。子调度器 enable/disable 时 cgroup 权属双向交接,失败时沿链向上退回至 root。

lore
其它分析 success作者:Tejun Heo2026/07/20 15:375 封邮件

[PATCHSET sched_ext/for-7.3] sched_ext: Rename the cid-form cgroup ops to cpuctl_*

sched_ext cid 形式中 cgroup_*() ops 实际操作的是 cpu controller 而非 cgroup2 层级,趁 ABI 尚可变更将其重命名为 cpuctl_*。同时拆出 SCX_OPS_CID_OPEN 宏,使 cid-form skeleton 不再依赖 cpu-form 成员名的 compat 清零路径。已由 maintainer 应用到 for-7.3 分支。

lore
Bugfix重要分析 success作者:Tejun Heo2026/07/18 15:409 封邮件

[PATCHSET sched_ext/for-7.2-fixes] sched_ext: Assorted sub-scheduler and cgroup fixes

Tejun Heo 提交四项 sched_ext 子调度器/cgroup bugfix:禁止非 enable 路径设 disallow、修复 cgroup 三方锁死锁(v6.18+ stable)、跳过未链接子调度器的 teardown、门控非 ext class 任务 enable。Andrea Righi 测试中发现另一个 pre-existing use-after-free(cgroup 迁移不更新 p->scx.sched),Tejun 确认已有修复系列在准备中。本系列已获 Reviewed-by 并合入 for-7.2-fixes。

lore
每页
上一页17 / 23下一页