Re: [PATCH] mm: memcontrol: MEMCG no longer works with SLOB

2015-12-10 Thread Vladimir Davydov
On Wed, Dec 09, 2015 at 03:01:07PM -0500, Johannes Weiner wrote: > On Wed, Dec 09, 2015 at 05:32:39PM +0100, Arnd Bergmann wrote: > > The change to move the kmem accounting into the normal memcg > > code means we can no longer use memcg with slob, which lacks > > the memcg_params member in its

[PATCH] mm: memcontrol: MEMCG no longer works with SLOB

2015-12-09 Thread Arnd Bergmann
The change to move the kmem accounting into the normal memcg code means we can no longer use memcg with slob, which lacks the memcg_params member in its struct kmem_cache: ../mm/slab.h: In function 'is_root_cache': ../mm/slab.h:187:10: error: 'struct kmem_cache' has no member named

Re: [PATCH] mm: memcontrol: MEMCG no longer works with SLOB

2015-12-09 Thread Arnd Bergmann
On Wednesday 09 December 2015 15:01:07 Johannes Weiner wrote: > On Wed, Dec 09, 2015 at 05:32:39PM +0100, Arnd Bergmann wrote: > > The change to move the kmem accounting into the normal memcg > > code means we can no longer use memcg with slob, which lacks > > the memcg_params member in its struct

Re: [PATCH] mm: memcontrol: MEMCG no longer works with SLOB

2015-12-09 Thread Johannes Weiner
On Wed, Dec 09, 2015 at 05:32:39PM +0100, Arnd Bergmann wrote: > The change to move the kmem accounting into the normal memcg > code means we can no longer use memcg with slob, which lacks > the memcg_params member in its struct kmem_cache: > > ../mm/slab.h: In function 'is_root_cache': >