Re: [PATCH 9/9] slab: remove slub sysfs interface files early for empty memcg caches

2017-01-14 Thread Vladimir Davydov
On Sat, Jan 14, 2017 at 12:54:49AM -0500, Tejun Heo wrote: > With kmem cgroup support enabled, kmem_caches can be created and > destroyed frequently and a great number of near empty kmem_caches can > accumulate if there are a lot of transient cgroups and the system is > not under memory pressure.

[PATCH 9/9] slab: remove slub sysfs interface files early for empty memcg caches

2017-01-13 Thread Tejun Heo
With kmem cgroup support enabled, kmem_caches can be created and destroyed frequently and a great number of near empty kmem_caches can accumulate if there are a lot of transient cgroups and the system is not under memory pressure. When memory reclaim starts under such conditions, it can lead to co