Re: [PATCH] memcg: keep propagating stats updates to ancestors

From: Shakeel Butt

Date: Mon Oct 12 2026 - 07:08:26 EST


On Mon, Oct 12, 2026 at 04:17:46PM +0800, Mingyu He wrote:
> Hi Shakeel,
>
> This came from a reproducible workload with a custom in-kernel consumer,

Please share your custom in-kernel consumer. Let's not make changes in the
kernel for things which are not in upstreame kernel.

[...]
>
> Regarding the BPF interface, the implementation in the tree I found is:
>
> __bpf_kfunc void bpf_mem_cgroup_flush_stats(struct mem_cgroup *memcg)
> {
> mem_cgroup_flush_stats(memcg);

Let's make this force flush.