日期范围
84
Bugfix讨论数
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
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
Bugfix重要分析 success作者:Andrea Righi2026/07/17 14:0418 封邮件

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

Andrea Righi 的 v6 共 11 个 patch,目标是拆掉 CONFIG_SCHED_PROXY_EXEC 与 CONFIG_SCHED_CLASS_EXT 的 Kconfig 互斥。核心做法是把 sched_ext 中所有策略与记账从 rq->curr 改为 rq->donor(donor 提供调度上下文,curr 只是执行上下文),并新增 SCX_OPS_ENQ_BLOCKED 让 BPF 调度器显式接管 blocked donor 的准入与排序。附带修复 NOHZ CFS bandwidth 检查看错任务(带 Fixes 标签)、ops.running/stopping 不...

lore
Bugfix重要分析 success作者:Zhimin Feng2026/07/16 19:293 封邮件

[PATCH sched_ext] sched/ext: Keep tick enabled for finite-slice tasks

该补丁修复 nohz_full CPU 上有限时间片 SCX 任务可能错误停掉 scheduler tick 的问题。根因是 set_next_task_scx() 运行时 rq->curr 仍可能指向旧任务,导致旧的 tick dependency 更新路径做出错误判断。新逻辑直接根据即将运行的任务设置 TICK_DEP_BIT_SCHED,同时保留无限时间片任务的 tickless 能力。

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