日期范围
150
重要讨论数
Bugfix重要分析 success作者:Hui Su2026/08/12 17:433 封邮件

[PATCH] sched/deadline: Fix DL server initialization for initially offline CPUs

提交 9f239df55546 把 DL server 初始化挪到 sched_init_smp() 时假设所有 CPU 都已 online,导致 maxcpus= 等场景下后上线 CPU 的 fair_server 与 ext_server 永远停在 runtime=0、period=0,fair 任务被高优先级任务完全饿死。本 patch 改用 for_each_possible_cpu() 遍历所有 CPU,仅在 CPU 已 online 时才 update_rq_clock 和 setup_new_dl_entity,并把根域带宽记账延后到 CPU 真正 active 后再做,避免给 ...

lore
Bugfix重要分析 success作者:Lu Wang2026/08/12 00:1020 封邮件

[PATCH] sched/cache: honor migrate_llc_task semantics in active load balance

Lu Wang 修复 cache-aware scheduling 中 active load balance 丢失 migrate_llc_task 语义的 bug:被动 LB 把 group_llc_balance 标成 migrate_llc_task 后,CPU stopper 重建的 lb_env 默认成 migrate_load,导致 ALB 在 src_rq 上多任务场景可能把 preferred LLC 与目标 LLC 不匹配的任务错误拉走。v2 通过挑选 stopper 回调 + 新增 LBF_ACTIVE_LB_LLC 标志,把 LLC 方向判断透传到 ALB 路径,同时避...

lore
其它重要分析 success作者:Madadi Vineeth Reddy2026/08/11 13:4111 封邮件

[PATCH] sched/fair: Let sync wakeups target the waker's core

补丁在 select_idle_core() 中识别“waker 即将 sleep 且 rq 仅剩它自己”的状态,把 waker 的 CPU 视为 idle,使得 SMT 上 wakee 能落到 waker 核的兄弟线程,复用 cache 又避免 stacking。讨论中 Prateek 与 Chen Yu 提出上提到 select_idle_sibling() 或抽出 select_idle_sync_core() 的重构方案,x86 Zen 3 上 Kayra 的测试显示 cycles 下降 1.40% 但 cache-misses 上升 4.60%,收益高度依赖 SMT 编号方式。

lore
Bugfix重要分析 success作者:Aaron Tomlin2026/08/11 09:3410 封邮件

[PATCH v4 0/5] sched/debug: Introduce per-CPU debugfs files

Aaron Tomlin 发送 v4 系列补丁,修补 sched debugfs 中 print_dl_rq() 的 rq->rd UAF、print_cpu() 的 rq->curr UAF、sched_show_numa() 的 p->mm TOCTOU、print_cfs_stats() 的 leaf_cfs_rq_list RCU 遍历违规,并新增 /sys/kernel/debug/sched/cpu/cpu<N>/debug 按 CPU 视图。评审集中在 Patch 1/5 上,Prateek 与 Aaron 讨论了 rcu_dereference_all() 与 __rcu 注解...

lore
Bugfix重要分析 success作者:Karl Mehltretter2026/08/11 05:5714 封邮件

[PATCH 0/5] kcov: suppress timer and scheduler coverage leaks

5 patch 系列在 kcov_mode 中新增可嵌套的 KCOV_PAUSED 位,配合 __always_inline 的 kcov_pause()/kcov_resume(),在 hrtimer 延迟 rearm、__schedule()、try_to_wake_up()、wake_up_new_task() 入口抑制被插桩 callee 把非确定性 scheduler/timer 路径误记入 current。修复后 KCOV selftest 在 x86_64/s390/RISC-V/LoongArch 通过,syzkaller A/B corpus +28.8%、coverage ...

lore
每页
上一页13 / 30下一页