Re: [PATCH 7/8] mm: memcontrol: account "kmem" consumers in cgroup2 memory controller

2015-12-10 Thread Michal Hocko
On Thu 10-12-15 10:16:27, Johannes Weiner wrote: > On Thu, Dec 10, 2015 at 02:28:33PM +0100, Michal Hocko wrote: > > On Wed 09-12-15 14:30:38, Vladimir Davydov wrote: > > > From: Vladimir Davydov > > > Subject: [PATCH] mm: memcontrol: allow to disable kmem accounting for > > > cgroup2 > > > > >

Re: [PATCH 7/8] mm: memcontrol: account "kmem" consumers in cgroup2 memory controller

2015-12-10 Thread Johannes Weiner
On Thu, Dec 10, 2015 at 02:28:33PM +0100, Michal Hocko wrote: > On Wed 09-12-15 14:30:38, Vladimir Davydov wrote: > > From: Vladimir Davydov > > Subject: [PATCH] mm: memcontrol: allow to disable kmem accounting for > > cgroup2 > > > > Kmem accounting might incur overhead that some users can't

Re: [PATCH 7/8] mm: memcontrol: account "kmem" consumers in cgroup2 memory controller

2015-12-10 Thread Michal Hocko
On Tue 08-12-15 13:34:24, Johannes Weiner wrote: > The original cgroup memory controller has an extension to account slab > memory (and other "kernel memory" consumers) in a separate "kmem" > counter, once the user set an explicit limit on that "kmem" pool. > > However, this includes various

Re: [PATCH 7/8] mm: memcontrol: account "kmem" consumers in cgroup2 memory controller

2015-12-10 Thread Michal Hocko
On Wed 09-12-15 14:30:38, Vladimir Davydov wrote: > From: Vladimir Davydov > Subject: [PATCH] mm: memcontrol: allow to disable kmem accounting for cgroup2 > > Kmem accounting might incur overhead that some users can't put up with. > Besides, the implementation is still considered unstable. So

Re: [PATCH 7/8] mm: memcontrol: account "kmem" consumers in cgroup2 memory controller

2015-12-10 Thread Michal Hocko
On Wed 09-12-15 14:30:38, Vladimir Davydov wrote: > From: Vladimir Davydov > Subject: [PATCH] mm: memcontrol: allow to disable kmem accounting for cgroup2 > > Kmem accounting might incur overhead that some users can't put up with. > Besides, the implementation is still

Re: [PATCH 7/8] mm: memcontrol: account "kmem" consumers in cgroup2 memory controller

2015-12-10 Thread Michal Hocko
On Tue 08-12-15 13:34:24, Johannes Weiner wrote: > The original cgroup memory controller has an extension to account slab > memory (and other "kernel memory" consumers) in a separate "kmem" > counter, once the user set an explicit limit on that "kmem" pool. > > However, this includes various

Re: [PATCH 7/8] mm: memcontrol: account "kmem" consumers in cgroup2 memory controller

2015-12-10 Thread Johannes Weiner
On Thu, Dec 10, 2015 at 02:28:33PM +0100, Michal Hocko wrote: > On Wed 09-12-15 14:30:38, Vladimir Davydov wrote: > > From: Vladimir Davydov > > Subject: [PATCH] mm: memcontrol: allow to disable kmem accounting for > > cgroup2 > > > > Kmem accounting might incur overhead

Re: [PATCH 7/8] mm: memcontrol: account "kmem" consumers in cgroup2 memory controller

2015-12-10 Thread Michal Hocko
On Thu 10-12-15 10:16:27, Johannes Weiner wrote: > On Thu, Dec 10, 2015 at 02:28:33PM +0100, Michal Hocko wrote: > > On Wed 09-12-15 14:30:38, Vladimir Davydov wrote: > > > From: Vladimir Davydov > > > Subject: [PATCH] mm: memcontrol: allow to disable kmem accounting for

Re: [PATCH 7/8] mm: memcontrol: account "kmem" consumers in cgroup2 memory controller

2015-12-09 Thread Johannes Weiner
On Wed, Dec 09, 2015 at 02:30:38PM +0300, Vladimir Davydov wrote: > On Tue, Dec 08, 2015 at 01:34:24PM -0500, Johannes Weiner wrote: > > The original cgroup memory controller has an extension to account slab > > memory (and other "kernel memory" consumers) in a separate "kmem" > > counter, once

Re: [PATCH 7/8] mm: memcontrol: account "kmem" consumers in cgroup2 memory controller

2015-12-09 Thread Vladimir Davydov
On Tue, Dec 08, 2015 at 01:34:24PM -0500, Johannes Weiner wrote: > The original cgroup memory controller has an extension to account slab > memory (and other "kernel memory" consumers) in a separate "kmem" > counter, once the user set an explicit limit on that "kmem" pool. > > However, this

Re: [PATCH 7/8] mm: memcontrol: account "kmem" consumers in cgroup2 memory controller

2015-12-09 Thread Vladimir Davydov
On Tue, Dec 08, 2015 at 01:34:24PM -0500, Johannes Weiner wrote: > The original cgroup memory controller has an extension to account slab > memory (and other "kernel memory" consumers) in a separate "kmem" > counter, once the user set an explicit limit on that "kmem" pool. > > However, this

Re: [PATCH 7/8] mm: memcontrol: account "kmem" consumers in cgroup2 memory controller

2015-12-09 Thread Johannes Weiner
On Wed, Dec 09, 2015 at 02:30:38PM +0300, Vladimir Davydov wrote: > On Tue, Dec 08, 2015 at 01:34:24PM -0500, Johannes Weiner wrote: > > The original cgroup memory controller has an extension to account slab > > memory (and other "kernel memory" consumers) in a separate "kmem" > > counter, once

[PATCH 7/8] mm: memcontrol: account "kmem" consumers in cgroup2 memory controller

2015-12-08 Thread Johannes Weiner
The original cgroup memory controller has an extension to account slab memory (and other "kernel memory" consumers) in a separate "kmem" counter, once the user set an explicit limit on that "kmem" pool. However, this includes various consumers whose sizes are directly linked to userspace

[PATCH 7/8] mm: memcontrol: account "kmem" consumers in cgroup2 memory controller

2015-12-08 Thread Johannes Weiner
The original cgroup memory controller has an extension to account slab memory (and other "kernel memory" consumers) in a separate "kmem" counter, once the user set an explicit limit on that "kmem" pool. However, this includes various consumers whose sizes are directly linked to userspace