memcg: kill memcg refcnt
commite0743e6bc5b7587dd0bfa902d67d3f81ef3f6618
authorLi Zefan <lizefan@huawei.com>
Mon, 8 Jul 2013 23:00:37 +0000 (8 16:00 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 9 Jul 2013 17:33:24 +0000 (9 10:33 -0700)
treea87f9720beb40eac10d247feead74ae9a77c80e6
parent8d76a9797882fc517d87e2b5db2a4f04edaeccec
memcg: kill memcg refcnt

Now memcg has the same life cycle as its corresponding cgroup.  Kill the
useless refcnt.

Signed-off-by: Li Zefan <lizefan@huawei.com>
Acked-by: Michal Hocko <mhocko@suse.cz>
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Tejun Heo <tj@kernel.org>
Cc: Glauber Costa <glommer@openvz.org>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/memcontrol.c