mm: memcg: inline mem_cgroup_charge_common()
authorJohannes Weiner <hannes@cmpxchg.org>
Mon, 7 Apr 2014 22:37:41 +0000 (15:37 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 7 Apr 2014 23:35:56 +0000 (16:35 -0700)
commit1bec6b333e241a9db47d3939fb08a4e174ece02f
treef164990f81ca31c07261855a5185940d8f2b7efc
parent59d1d256e156bb232700836b79d1ead5027f7b1d
mm: memcg: inline mem_cgroup_charge_common()

mem_cgroup_charge_common() is used by both cache and anon pages, but
most of its body only applies to anon pages and the remainder is not
worth having in a separate function.

Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: Michal Hocko <mhocko@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/memcontrol.c