mm: memcg: inline mem_cgroup_charge_common()
authorJohannes Weiner <[email protected]>
Mon, 7 Apr 2014 22:37:41 +0000 (15:37 -0700)
committerLinus Torvalds <[email protected]>
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 <[email protected]>
Acked-by: Michal Hocko <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/memcontrol.c