日期范围
84
Bugfix讨论数
Bugfix重要分析 success作者:Kuba Piecuch2026/07/11 00:483 封邮件

[PATCH sched_ext/for-7.3] sched_ext: skip ops.set_weight() for disabled tasks

这个单补丁修复 sched_ext 中 task 离开 SCX 后仍调用 ops.set_weight() 的回调顺序问题。核心改动是在 reweight_task_scx() 中跳过非 SCX_TASK_ENABLED 的 task,避免 BPF scheduler 已经在 ops.disable() 中忘记 task 后又收到权重更新。Tejun Heo 已将其应用到 sched_ext/for-7.2-fixes,并添加 Fixes 与 stable Cc,确认这是 v6.19+ 的回归修复。

lore
Bugfix重要分析 success作者:Andrea Righi2026/07/10 06:494 封邮件

[PATCH sched_ext/for-7.3] sched_ext: Keep rq tracking accurate in the consume path

修复 consume_remote_task() 中 scx_locked_rq() 运行队列锁追踪变为 stale 的问题。旧代码先释放 this_rq 再锁 src_rq,导致 switch_rq_lock 的 guard 不匹配、追踪无法更新。新方案全程保持 this_rq 锁定,通过 switch_rq_lock() 连续切换,使追踪从头到尾准确。Tejun Heo 已合入 sched_ext/for-7.3。

lore
Bugfix分析 success作者:luoliang2026/07/10 05:403 封邮件

[PATCH] selftests/sched_ext: Fix bpf_link leak on early return in prog_run

Liang Luo 发现 sched_ext selftest 的 prog_run 用例在断言失败时会跳过 bpf_link__destroy,导致 BPF 调度器不卸载、后续测试 attach 失败。改用统一 goto out 清理模式后,资源回收与返回路径解耦,Tejun 已合入 sched_ext/for-7.3。

lore
Bugfix分析 success作者:luoliang2026/07/10 05:403 封邮件

[PATCH] sched_ext: Fix typo in scx_bpf_dsq_insert() comment

Liang Luo 提交的 1 行注释修复 patch,把 kernel/sched/ext/ext.c 中 scx_bpf_dsq_insert() kfunc 注释里误写的参数名 @dsp_id 改回与函数签名一致的 @dsq_id。Andrea Righi 当日给出 Acked-by,Tejun Heo 当晚即将其合入 sched_ext/for-7.3 分支,无功能行为变更。

lore
Bugfix重要分析 success作者:Andrea Righi2026/07/09 02:364 封邮件

[PATCHSET v3 sched_ext/for-7.2-fixes] sched_ext: Fix finite-slice ticks on nohz_full

Andrea Righi 提交 v3 修复了 sched_ext 在 nohz_full CPU 上 finite-slice 任务切换时 tick 依赖可能被错误禁用的问题。核心做法是在 set_next_task_scx() 中把 infinite/finite 路径拆开、对 finite 任务无条件声明 tick 依赖,并在 scx_can_stop_tick() 中忽略 nr_running 为 0 时的过期状态。配套新增的 kselftest 验证 infinite→finite 与 finite→finite 跨 idle 切换下 tick 投递正确,最终被 Tejun Heo 合...

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