日期范围
134
全部讨论数
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
其它分析 success作者:Pat Somaru2026/07/11 00:364 封邮件

[PATCH v2] sched_ext: Add tracepoint for scheduler exit

Pat Somaru 给 sched_ext 的 scx_claim_exit() 新增一个 sched_ext_exit tracepoint,让 BPF 程序可动态观察调度器退出时的状态。v2 暴露 name/level/kind,但 Tejun 指出 sibling cgroup 同程序实例下会撞名;v3 补上 sub_cgroup_id 和 cgrp_path,并由 Tejun Applied 到 sched_ext/for-7.3。整体属于小特性新增,非 RFC/Bugfix。

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
每页
上一页25 / 27下一页