commit | 1bec6b333e241a9db47d3939fb08a4e174ece02f | [log] [tgz] |
---|---|---|
author | Johannes Weiner <hannes@cmpxchg.org> | Mon Apr 07 15:37:41 2014 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Mon Apr 07 16:35:56 2014 -0700 |
tree | f164990f81ca31c07261855a5185940d8f2b7efc | |
parent | 59d1d256e156bb232700836b79d1ead5027f7b1d [diff] |
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>