日期范围
163
全部讨论数
Bugfix重要分析 success作者:soolaugust2026/08/13 12:092 封邮件

[PATCH] sched/proxy_exec: Limit find_proxy_task() chain depth to prevent CPU hang

Proxy execution 下两个任务互相等待对方 mutex 会让 find_proxy_task() 在 blocked_on 链上无限循环,CPU 持 rq->lock spin 死。补丁用 rq 上的 proxy_pick_seq 给每次 walk 打唯一标记,重复走到同一节点时清掉 blocked_on 并 deactivate 该任务,从 v1 深度上限演进到 v5 的 per-pick seq 标记,能识别链中任意位置的循环(A→B→C→A),是 PE 走向 futex 之前的必修课。

lore
其它重要分析 success作者:Bharata B Rao2026/08/13 10:219 封邮件

[PATCH v8 0/8] mm: Hot page tracking and promotion infrastructure

Bharata B Rao 第 8 版提交 pghot 子系统,把 NUMA hint fault、AMD IBS Memory Profiler 以及未来 CXL HMU 等热页来源统一到 per-PFN hotness 记录与 per-node kmigrated 线程,并把 kernel.numa_balancing=2 的 tiering 路径从 scheduler 迁到 mm。Andrew Morton、Matthew Wilcox、SJ Park、D. Hildenbrand 等 maintainer 提出与 DAMON 重叠、diffstat 过大、未拿到任何 Acked-by ...

lore
其它分析 success作者:Kayra Cizmeci2026/08/12 23:101 封邮件

[PATCH] sched/fair: Avoid calculating curr's key twice in pick_eevdf()

本 patch 把 pick_eevdf() 中 entity_eligible()→vruntime_eligible() 这条路径里重复的 entity_key(cfs_rq, curr) 减法抽成新的 curr_eligible(),让 vruntime - min_vruntime 只算一次。无功能变化,仅做 micro-cleanup,把 curr!=NULL/on_rq 的不变量交给 caller。建议补 WARN_ON_ONCE 与 micro-bench 以便 review。

lore
其它重要分析 success作者:Boqun Feng2026/08/12 19:1820 封邮件

[PATCH v5 00/18] Refcounted interrupt disable and SpinLockIrq for Rust

Boqun Feng 主推的 v5 18 贴系列把 preempt_count 中的 NMI 嵌套迁到 per-CPU 计数器,腾出 8 bit 给新的 HARDIRQ_DISABLE 计数器,并在 64-bit 架构把 PREEMPT_NEED_RESCHED 拆到独立字。系列在 C 端新增 local_interrupt_disable/enable 以及 spin_lock_irq_disable / spin_unlock_irq_enable 三件套,并附 KUnit 测试;在 Rust 端引入 kernel::interrupt 模块的 LocalInterruptDisabled...

lore
Bugfix分析 success作者:lirongqing2026/08/12 15:281 封邮件

[PATCH v2] sched/debug: reject invalid writes to numa_balancing scan_size_mb

该 patch 用 debugfs 自定义 file_operations 替换 debugfs_create_u32,对 numa_balancing/scan_size_mb 的写入做范围校验,避免 0 与超过 UINT_MAX 的值触发 task_scan_min 与 task_nr_scan_windows 的除零。v1 到 v2 把 debugfs_create_file 换成 debugfs_create_file_unsafe 省去 full_proxy,并重写 commit message。后两封同作者的答复只是 ping 维持邮件,没有新内容。

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

[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:413 封邮件

[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
其它分析 success作者:Greg Kroah-Hartman2026/08/11 07:001 封邮件

[PATCH 7.1 001/438] net: mpls: initialize rtm_tos in mpls_getroute()

Greg Kroah-Hartman 发布 Linux 7.1.8-rc1 稳定分支的 438 个回搬补丁合入评审。涵盖 mm/slab、btrfs、netfilter、bluetooth、KVM、ALSA、drm 等子系统;其中 sched/deadline 183/438 限定 revised wakeup rule 仅在 dl_server running 时生效。窗口期截止 2026-08-09 14:33 UTC;多数回信为 Tested-by/确认收到。

lore
其它分析 success作者:Greg Kroah-Hartman2026/08/11 06:401 封邮件

[PATCH 6.18 001/396] netfilter: nf_conntrack_expect: restore helper propagation via expectation

Greg KH 发布的 6.18.44-rc1 stable review 一次拉取 396 个 patch,跨 netfilter、btrfs、mm/slab、drm、ALSA、Bluetooth、hwmon、net、scsi、can、phy 等 30+ 子系统。真正属于 scheduler 的只有 PATCH 149/396 sched/deadline: Use revised wakeup rule only for running dl_server,把 DL wakeup rule 的判定收敛到 dl_server 实际 running 时。其余 395 个均为各子系统 bugfi...

lore
每页
上一页15 / 17下一页