日期范围
120
Bugfix讨论数
Bugfix重要分析 success作者:Aaron Tomlin2026/08/26 05:488 封邮件

[PATCH v6 0/6] sched/debug: Introduce per-CPU debugfs files

Aaron Tomlin v6 系列同时引入 /sys/kernel/debug/sched/cpu/cpu<N>/debug 每 CPU debugfs 接口与 RCU 内存安全修复。Patch 1 给 rq->rd 加 __rcu 注解并更新所有 lockless reader;Patch 2-3 用 rcu_assign_pointer/rcu_dereference/guard(rcu) 修复 print_dl_rq() 与 print_cpu() 的 UAF;Patch 4 用 task_lock 修复 sched_show_numa() 的 TOCTOU;Patch 5 引入 fo...

lore
Bugfix重要分析 success作者:Christian Loehle2026/08/26 01:586 封邮件

[PATCH] sched/cpufreq: Reevaluate frequency before tickless idle

Christian Loehle 提出在 cpuidle 真正把 tick 切到 stopped 的瞬间补一次 cpufreq 更新,并新增 SCHED_CPUFREQ_IDLE 标志让 schedutil 绕过 rate-limit 强制刷新频率。补丁修复了 UCLAMP_MIN 在 idle 时维持高频、tickless 期间 WFI 持续高电压的能耗问题。后续回复者 Hongyan Xia 与 Vincent Guittot 的具体意见需要等 v2 才能确认。

lore
Bugfix重要分析 success作者:Aaron Tomlin2026/08/26 00:318 封邮件

[PATCH v5 1/6] sched: Annotate rq->rd with __rcu and update lockless readers

本系列(v5)由 Aaron Tomlin 提交,共 6 个 patch,旨在修复 scheduler debugfs handlers 中的内存安全问题(rq->rd 缺 __rcu 注解、print_dl_rq() 的 dl_bw UAF、print_cpu() 的 task_struct UAF、sched_show_numa() 的 mm_struct TOCTOU、print_cfs_stats() 的非 RCU 链表遍历),同时在 /sys/kernel/debug/sched/cpu/cpu<N>/debug 引入 per-CPU debugfs 文件以支撑大 SMP 拓扑下的单...

lore
Bugfix重要分析 success作者:syzbot2026/08/25 21:374 封邮件

Re: [syzbot] [mm?] BUG: sleeping function called from invalid context in kvm_mmu_notifier_invalidate_range_start

David Woodhouse 在 dwmw2/linux.git 的 seb-nonblock-rt-test 分支提交 sched: Allow sleeping spinlocks on PREEMPT_RT,修复 syzbot 报告的 KVM MMU notifier 在 PREEMPT_RT 下 sleeping function called from invalid context 问题。前两次 syzbot 因克隆协议写错(https/http)拉取失败,第三次改用 git:// 后成功,reproducer 不再触发问题。

lore
Bugfix分析 success作者:Jianyong Wu2026/08/25 21:056 封邮件

[PATCH] sched/fair: Only apply cpufreq pressure where frequency is invariant

Jianyong Wu 提单 patch 修复 get_actual_cpu_capacity() 在非 frequency-invariant 架构上错误应用 cpufreq pressure 的问题,根因被追溯到 d2d5c129d07e 的 cpuinfo.max_freq 回退逻辑。作者本人在回复中承认原 commit message 解释不正确,真正问题更可能在 cpufreq 侧。Vincent Guittot 和 Hongyan Xia 跟进讨论但作者尚未发 v2。

lore
每页
上一页4 / 24下一页