日期范围
101
Bugfix讨论数
Bugfix重要分析 success作者:Matt Fleming2026/07/12 07:575 封邮件

[PATCH 6.18.y] rcu-tasks: Defer IRQ-disabled callback enqueue to irq_work

针对 6.18.y 的死锁修复:call_rcu_tasks_generic() 在 IRQs 关闭(持 rq->lock)时抢 cbs_gbl_lock,与 tasks-RCU wakeup 路径构成 ABBA 死锁。补丁将 IRQ-disabled 调用者改走无锁 llist 旁路,由 hard irq_work 稍后排干,fast path 不变。Paul McKenney 指出无法干净应用到 mainline,要求 forward-port,Matt 同意。

lore
Bugfix重要分析 success作者:Nicholas Dudar2026/07/12 07:3913 封邮件

[PATCH bpf-next v3 0/2] bpf: require an owned cpumask for bpf_cpumask_populate()

修复 BPF verifier 类型检查漏洞:bpf_cpumask_populate() 目标类型从 struct cpumask * 改成 struct bpf_cpumask *,阻止借用只读 cpumask 被当成可写目标。系列含 1 个 kernel 修复 patch 和 1 个 selftest patch。补丁已被 Kumar 合入 bpf-next,并获 Tejun Heo 的 Acked-by。

lore
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
每页
上一页19 / 21下一页