mm: memcontrol: consolidate memory controller initialization
authorJohannes Weiner <[email protected]>
Wed, 11 Feb 2015 23:26:33 +0000 (15:26 -0800)
committerLinus Torvalds <[email protected]>
Thu, 12 Feb 2015 01:06:03 +0000 (17:06 -0800)
commit95a045f63d9868ee189fe24ee61689df5a133d5b
tree65e1d614946bfed6bcb23e40d196db50db8b3944
parent9c608dbe6a0d137f78498a5181eb0cd309f8f067
mm: memcontrol: consolidate memory controller initialization

The initialization code for the per-cpu charge stock and the soft
limit tree is compact enough to inline it into mem_cgroup_init().

Signed-off-by: Johannes Weiner <[email protected]>
Acked-by: Michal Hocko <[email protected]>
Reviewed-by: Vladimir Davydov <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/memcontrol.c