]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
mm: memcontrol: consolidate memory controller initialization
authorJohannes Weiner <hannes@cmpxchg.org>
Wed, 11 Feb 2015 23:26:33 +0000 (15:26 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
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 <hannes@cmpxchg.org>
Acked-by: Michal Hocko <mhocko@suse.cz>
Reviewed-by: Vladimir Davydov <vdavydov@parallels.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/memcontrol.c