日期范围
2
RFC讨论数
RFC重要分析 success作者:Tao Cui2026/08/19 08:575 封邮件

[PATCH RFC] sched_ext: warn when cpu.max is set but the BPF scheduler doesn't implement bandwidth control

Tao Cui 提出在 BPF 调度器未实现 ops.cgroup_set_bandwidth 时,对有限 cpu.max 配额打印一次 pr_warn_once。实测 scx_simple 配置 cpu.max=50000 100000 时任务仍可吃满 CPU。Tejun Heo 引用 cpu.weight 的旧例反对运行时警告,建议通过文档说明各调度器实现的 cgroup 接口;Sashiko AI进一步指出该警告覆盖不到启动时已存在的 cgroup 配额。下一步取决于作者是否改为文档 patch,或扩展为 cgroup 能力位图机制。

lore
RFC重要分析 success作者:Tejun Heo2026/07/14 05:4518 封邮件

[PATCHSET SLOP RFC 0/6] bpf: make arena pointers first-class kfunc and struct_ops arguments

Tejun Heo 提出 RFC 让 BPF arena 指针通过 __arena 后缀在 kfunc 和 struct_ops 边界自动翻译地址,消除手工偏移/cast 重复代码。kfunc 方向由 verifier fixup 注入 rebasing 指令,struct_ops 方向由 entry prologue 注入反向 rebasing,NULL 保留。v2 新增了 __arena 参数禁止 tail call 的限制,并修正注释风格。

lore
每页
上一页1 / 1下一页