mm: memcontrol: move kmem accounting code to CONFIG_MEMCG
authorJohannes Weiner <hannes@cmpxchg.org>
Wed, 20 Jan 2016 23:02:32 +0000 (15:02 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 21 Jan 2016 01:09:18 +0000 (17:09 -0800)
commit127424c86bb6cb87f0b563d9fdcfbbaf3c86ecec
tree7748cabc717161032e479be17e20f5046c9a8335
parent3893e302f6a377c4ef0f077f190bf760bf84e0be
mm: memcontrol: move kmem accounting code to CONFIG_MEMCG

The cgroup2 memory controller will account important in-kernel memory
consumers per default.  Move all necessary components to CONFIG_MEMCG.

Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: Vladimir Davydov <vdavydov@virtuozzo.com>
Cc: Michal Hocko <mhocko@suse.cz>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/list_lru.h
include/linux/memcontrol.h
include/linux/sched.h
include/linux/slab.h
include/linux/slab_def.h
include/linux/slub_def.h
mm/list_lru.c
mm/memcontrol.c
mm/slab.h
mm/slab_common.c
mm/slub.c