]> git.baikalelectronics.ru Git - kernel.git/commit
memcg: kill memcg refcnt
authorLi Zefan <lizefan@huawei.com>
Mon, 8 Jul 2013 23:00:37 +0000 (16:00 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 9 Jul 2013 17:33:24 +0000 (10:33 -0700)
commitf008b54fb5a06504ea02d0b644f6f2e4447313bc
treea87f9720beb40eac10d247feead74ae9a77c80e6
parent358459800f958f8343e231c38f336b49e03e48ba
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