Re: [PATCH 0/5] mm: reparent slab memory on cgroup removal

2019-04-18 Thread Roman Gushchin
On Thu, Apr 18, 2019 at 11:15:38AM +0300, Vladimir Davydov wrote: > Hello Roman, > > On Wed, Apr 17, 2019 at 02:54:29PM -0700, Roman Gushchin wrote: > > There is however a significant problem with reparenting of slab memory: > > there is no list of charged pages. Some of them are in shrinker lists

Re: [PATCH 0/5] mm: reparent slab memory on cgroup removal

2019-04-18 Thread Vladimir Davydov
Hello Roman, On Wed, Apr 17, 2019 at 02:54:29PM -0700, Roman Gushchin wrote: > There is however a significant problem with reparenting of slab memory: > there is no list of charged pages. Some of them are in shrinker lists, > but not all. Introducing of a new list is really not an option. True, i

[PATCH 0/5] mm: reparent slab memory on cgroup removal

2019-04-17 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