memcg: fold mem_cgroup_stolen
authorQiang Huang <h.huangqiang@huawei.com>
Wed, 4 Jun 2014 23:08:21 +0000 (16:08 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 4 Jun 2014 23:54:05 +0000 (16:54 -0700)
commitbdcbb659fe630fc64f6604e99a180bb2ccc630c2
tree4a4a7ef641fcd4c704c47b55cf57fbbcb946d7d9
parent3fb1c8dcfcda2f5bfb7d79d8b08bf2f04b1eed8f
memcg: fold mem_cgroup_stolen

It is only used in __mem_cgroup_begin_update_page_stat(), the name is
confusing and 2 routines for one thing also confuse people, so fold this
function seems more clear.

[akpm@linux-foundation.org: fix typo, per Michal]
Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
Acked-by: Michal Hocko <mhocko@suse.cz>
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