mm: memcontrol: introduce CONFIG_MEMCG_LEGACY_KMEM
authorJohannes Weiner <hannes@cmpxchg.org>
Wed, 20 Jan 2016 23:02:41 +0000 (15:02 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 21 Jan 2016 01:09:18 +0000 (17:09 -0800)
commit489c2a20a414351fe0813a727c34600c0f7292ae
tree3e1417700db70366ac8d9a73b38958c3904732db
parent04823c833b3eaef7816e28e3727124394f6bb3c3
mm: memcontrol: introduce CONFIG_MEMCG_LEGACY_KMEM

Let the user know that CONFIG_MEMCG_KMEM does not apply to the cgroup2
interface. This also makes legacy-only code sections stand out better.

[arnd@arndb.de: mm: memcontrol: only manage socket pressure for CONFIG_INET]
Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Cc: Michal Hocko <mhocko@suse.cz>
Cc: Tejun Heo <tj@kernel.org>
Acked-by: Vladimir Davydov <vdavydov@virtuozzo.com>
Signed-off-by: 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/memcontrol.h
init/Kconfig
mm/memcontrol.c
mm/vmpressure.c
net/ipv4/Makefile