]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit69e6f8f10b4a48165599c83f95c317fda7c5a40b
tree2a638984e7b055680ea4d93e2897659954fcd3be
parent53c56d64e8293eb1a6dc1948f66be4d08edaf89d
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