Re: [PATCH v6 00/10] mm: reparent slab memory on cgroup removal

2019-06-05 Thread Roman Gushchin
On Tue, Jun 04, 2019 at 09:14:18PM -0700, Andrew Morton wrote: > On Tue, 4 Jun 2019 19:44:44 -0700 Roman Gushchin 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/. Ta

Re: [PATCH v6 00/10] mm: reparent slab memory on cgroup removal

2019-06-04 Thread Andrew Morton
On Tue, 4 Jun 2019 19:44:44 -0700 Roman Gushchin 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: currentl

[PATCH v6 00/10] mm: reparent slab memory on cgroup removal

2019-06-04 Thread Roman Gushchin
# Why do we need this? We've noticed that the number of dying cgroups is steadily growing on most of our hosts in production. The following investigation revealed an issue in userspace memory reclaim code [1], accounting of kernel stacks [2], and also the mainreason: slab objects. The underlying