summaryrefslogtreecommitdiffstats
path: root/mm/internal.h
diff options
context:
space:
mode:
authorMichal Hocko <mhocko@suse.cz>2014-04-08 00:37:46 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2014-04-08 01:35:57 +0200
commitd715ae08f2ff87508a081c4df78061bf4f7211d6 (patch)
treed81db4fd7c18cd7c549ab638ebeff1d07437d9a5 /mm/internal.h
parentmemcg: sanitize __mem_cgroup_try_charge() call protocol (diff)
downloadlinux-d715ae08f2ff87508a081c4df78061bf4f7211d6.tar.xz
linux-d715ae08f2ff87508a081c4df78061bf4f7211d6.zip
memcg: rename high level charging functions
mem_cgroup_newpage_charge is used only for charging anonymous memory so it is better to rename it to mem_cgroup_charge_anon. mem_cgroup_cache_charge is used for file backed memory so rename it to mem_cgroup_charge_file. Signed-off-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>
Diffstat (limited to 'mm/internal.h')
0 files changed, 0 insertions, 0 deletions