Re: [External] Re: [PATCH 5/5] mm: memcontrol: use object cgroup for remote memory cgroup charging

2021-03-02 Thread Muchun Song
On Tue, Mar 2, 2021 at 9:29 AM Roman Gushchin wrote: > > On Mon, Mar 01, 2021 at 02:22:27PM +0800, Muchun Song wrote: > > We spent a lot of energy to make slab accounting do not hold a refcount > > to memory cgroup, so the dying cgroup can be freed as soon as possible > > on cgroup offlined. > >

Re: [PATCH 5/5] mm: memcontrol: use object cgroup for remote memory cgroup charging

2021-03-01 Thread Roman Gushchin
On Mon, Mar 01, 2021 at 02:22:27PM +0800, Muchun Song wrote: > We spent a lot of energy to make slab accounting do not hold a refcount > to memory cgroup, so the dying cgroup can be freed as soon as possible > on cgroup offlined. > > But some users of remote memory cgroup charging (e.g. bpf and