日期范围
117
重要讨论数
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作者:syzbot2026/08/25 20:382 封邮件

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

syzbot 多次在 RT 内核上抓到 oom_reaper 在持有 mmap_lock reader 锁时调用 cond_resched(),被 __might_resched() 误报为非法上下文睡眠。配套补丁给 __might_resched() 增加一个 bool rt_sleeping_lock 形参,让所有 cond_resched*() 显式传入 false,未来由 RT sleeping lock 路径传入 true,从而既放过合法调度点又不丢真实告警。dwmw2 已请求 syz test 验证 seb-nonblock-rt-test 场景。

lore
Bugfix重要分析 success作者:Jake S2026/08/25 11:3810 封邮件

[BUG] sched/fair: divide error in __calc_prop_weight() from the enqueue path (flat-hierarchy series)

tip sched/core 的 flat-hierarchy 重构里 tg_cpus() 不像 tg_tasks() 那样 floor 在 1,空 cpuset 给出 0 后穿过 calc_concur_shares() 的 min() 击穿 __calc_smp_shares() 的 MIN_SHARES 兜底,group se 的 load.weight 沦为 0,下一次 enqueue 走 __calc_prop_weight() 触发 #DE。Jake Steinman 提出把 tg_cpus() 改成 max(nr, 1),已合入 tip sched/urgent(commit 2...

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