Re: [PATCH-next] mm, memcg: Add ":deact" tag for reparented kmem caches in memcg_slabinfo

2019-06-27 Thread Waiman Long
On 6/26/19 3:58 PM, Roman Gushchin wrote: > On Fri, Jun 21, 2019 at 01:30:05PM -0400, Waiman Long wrote: >> With Roman's kmem cache reparent patch, multiple kmem caches of the same >> type can be seen attached to the same memcg id. All of them, except >> maybe one, are reparent'ed kmem caches. It

Re: [PATCH-next] mm, memcg: Add ":deact" tag for reparented kmem caches in memcg_slabinfo

2019-06-26 Thread Roman Gushchin
On Fri, Jun 21, 2019 at 01:30:05PM -0400, Waiman Long wrote: > With Roman's kmem cache reparent patch, multiple kmem caches of the same > type can be seen attached to the same memcg id. All of them, except > maybe one, are reparent'ed kmem caches. It can be useful to tag those > reparented caches

Re: [PATCH-next] mm, memcg: Add ":deact" tag for reparented kmem caches in memcg_slabinfo

2019-06-21 Thread Shakeel Butt
On Fri, Jun 21, 2019 at 10:30 AM Waiman Long wrote: > > With Roman's kmem cache reparent patch, multiple kmem caches of the same > type can be seen attached to the same memcg id. All of them, except > maybe one, are reparent'ed kmem caches. It can be useful to tag those > reparented caches by

[PATCH-next] mm, memcg: Add ":deact" tag for reparented kmem caches in memcg_slabinfo

2019-06-21 Thread Waiman Long
With Roman's kmem cache reparent patch, multiple kmem caches of the same type can be seen attached to the same memcg id. All of them, except maybe one, are reparent'ed kmem caches. It can be useful to tag those reparented caches by adding a new slab flag "SLAB_DEACTIVATED" to those kmem caches