Thread (6 messages) flat view 6 messages, 4 authors, 2021-10-22

Re: [PATCH] cgroup: fix memory leak caused by missing cgroup_bpf_offline

From: Michal Koutný <mkoutny@suse.com>
Date: 2021-10-12 09:33:01
Also in: bpf, cgroups, lkml

On Tue, Oct 12, 2021 at 02:22:13PM +0800, Quanyang Wang [off-list ref] wrote:
Before this commit, percpu_ref is embedded in cgroup, it can be freed along
with cgroup, so there is no memory leak. Since this commit, it causes the
memory leak.
Should I change it to "Fixes: 4bfc0bb2c60e ("bpf: decouple the lifetime of
cgroup_bpf from cgroup itself")"?
I see. The leak is a product so I'd tag both of them and explain it in
the commit message.

Thank you,
Michal
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help