mm: memcontrol: rein in the CONFIG space madness
authorJohannes Weiner <hannes@cmpxchg.org>
Wed, 20 Jan 2016 23:02:47 +0000 (15:02 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 21 Jan 2016 01:09:18 +0000 (17:09 -0800)
commitd886f4e483ce63a3304adc9eda87031b93341c28
tree2a638984e7b055680ea4d93e2897659954fcd3be
parentd55f90bfab40e3b5db323711d28186ff09461692
mm: memcontrol: rein in the CONFIG space madness

What CONFIG_INET and CONFIG_LEGACY_KMEM guard inside the memory
controller code is insignificant, having these conditionals is not
worth the complication and fragility that comes with them.

[akpm@linux-foundation.org: rework mem_cgroup_css_free() statement ordering]
Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Cc: Michal Hocko <mhocko@suse.cz>
Acked-by: Vladimir Davydov <vdavydov@virtuozzo.com>
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