评审中
🚀 性能优化
最新 v1 · 更新于 2026-09-06
按访问模式重排memcg结构字段
提交者:Shakeel Butt · 首次出现 2026-09-05
按访问模式重排 struct mem_cgroup_per_node 等字段并加 cacheline padding,避免字段漂移造成 cacheline 伪共享与性能回归。
版本时间线
日报中提到过
这几天的日报里对这个系列有更详细的"发生了什么/为什么重要"叙述,原始邮件摘要之外可以点进去看。
按访问模式重排 struct mem_cgroup_per_node 等字段并加 cacheline padding,避免字段漂移造成 cacheline 伪共享与性能回归。