On Tue, 4 Jun 2019 19:44:44 -0700 Roman Gushchin <guro@xxxxxx> wrote: > So instead of trying to find a maybe non-existing balance, let's do reparent > the accounted slabs to the parent cgroup on cgroup removal. s/slabs/slab caches/. Take more care with the terminology, please... > There is a bonus: currently we do release empty kmem_caches on cgroup > removal, however all other are waiting for the releasing of the memory cgroup. > These refactorings allow kmem_caches to be released as soon as they > become inactive and free. Unclear. s/All other/releasing of all non-empty slab caches depends upon the releasing/ I think?