日期范围
38
其它讨论数
其它分析 success作者:Amin Gattout2026/08/27 19:453 封邮件

[PATCH] sched/core: Convert remaining BUG_ON() instances to WARN_ON_ONCE()

本补丁是 commit 09348d75a6ce 的清尾工作,将 kernel/sched/core.c 中遗漏的 6 处 BUG_ON() 全部替换为 WARN_ON_ONCE()。改动覆盖 tick offload 分配失败、preempt_schedule_irq 入口、rq online/offline 以及 sched_init 中的调度类优先级链。目的是遵循 deprecated.rst 的指引,让'理论上不可能'的 invariant 命中时只警告、不 panic,从而留下可用的 dmesg 方便定位。线程中两封 reply 都只是引用前文,未见 maintainer 实质 Ac...

lore
其它分析 success作者:Kayra Cizmeci2026/08/27 02:447 封邮件

[PATCH 1/2] sched/fair: reuse the ENQUEUE_DELAYED calculation in enqueue_task_fair()

Kayra Cizmeci 提出的两 patch 清理系列:把 ENQUEUE_DELAYED 与 cfs_rq->curr == se 两个布尔在 enqueue_task_fair() 入口算好并透传给 requeue_delayed_entity() 与 place_entity(),消除 avg_vruntime_weight() 的二次调用并提升可读性。v2 在 place_entity() 加了 curr && (curr->on_rq || is_curr) 守卫以避免空算。Prateek 指出 delayed 命名读起来反直觉,作者倾向改成 wakeup_delayed 或保留...

lore
其它重要分析 success作者:Peter Zijlstra2026/08/24 21:537 封邮件

[PATCH v3 0/7] sched: Flatten the pick

Peter Zijlstra 的 v3 系列把 cgroup 层级权重从 1/N^d 衰减修正为可切换的五档算法(up / smp / max / concur / tasks),新默认 concur 通过 min(M,N) 把组内有效权重稳定在 1;并以 sched/eevdf 单 rq 化把 pick_next_task 路径上的中间 group se 移除,目标是降低 P99 调度延迟。后续 tip-bot2 合入与 Chen Yu 的 u32 溢出 fix 把整套改造落到 sched/core,但 wake_affine_weight 在新权重下的退化仍在持续追讨。

lore
其它重要分析 success作者:Greg Kroah-Hartman2026/08/21 23:014 封邮件

[PATCH 6.12 011/337] netfilter: br_netfilter: Reallocate headroom if necessary in neigh_hh_bridge()

本系列是 Greg Kroah-Hartman 发布的 Linux 6.12.103-rc1 稳定分支 review,共 337 个 patch,覆盖 netfilter、sched、scsi、drm、alsa、bluetooth、hwmon、mm、kvm、net 等 30 多个子系统的 bugfix 与少量 cleanup/feature。关键改动包括 sched/deadline 仅在 dl_server 运行中启用新唤醒规则、cpufreq/schedutil 在所有 sg_cpu 初始化后发布 util hook、neigh_hh_bridge 重新分配 headroom、SIP NA...

lore
其它重要分析 success作者:Luigi Rizzo2026/08/20 18:362 封邮件

[PATCH] sched/cpupri: Remove count field from struct cpupri_vec

Luigi Rizzo 提议删除 struct cpupri_vec 的 count 字段及配套的 atomic 操作与 smp_mb 屏障。动机是在 220 核 ARM 上,软中断 CPU 因 irq_thread 频繁调用 cpupri_set() 而有约 25% 时间耗在该函数;移除后该比例降至 2% 以内,且 RT 任务路由仍由 rq->lock 在 find_lock_lowest_rq 中兜底。v2 增加了 cpupri_find 的 benchmark 与无 barrier 安全性的注释。

lore
每页
上一页5 / 8下一页