Re: [PATCH v7 10/10] mm: reparent memcg kmem_caches on cgroup removal

2019-06-25 Thread Shakeel Butt
On Tue, Jun 11, 2019 at 4:18 PM Roman Gushchin wrote: > > Let's reparent non-root kmem_caches on memcg offlining. This allows us > to release the memory cgroup without waiting for the last outstanding > kernel object (e.g. dentry used by another application). > > Since the parent cgroup is

Re: [PATCH v7 10/10] mm: reparent memcg kmem_caches on cgroup removal

2019-06-16 Thread Vladimir Davydov
On Tue, Jun 11, 2019 at 04:18:13PM -0700, Roman Gushchin wrote: > Let's reparent non-root kmem_caches on memcg offlining. This allows us > to release the memory cgroup without waiting for the last outstanding > kernel object (e.g. dentry used by another application). > > Since the parent cgroup

[PATCH v7 10/10] mm: reparent memcg kmem_caches on cgroup removal

2019-06-11 Thread Roman Gushchin
Let's reparent non-root kmem_caches on memcg offlining. This allows us to release the memory cgroup without waiting for the last outstanding kernel object (e.g. dentry used by another application). Since the parent cgroup is already charged, everything we need to do is to splice the list of