Commit 2753b35b authored by Vladimir Davydov's avatar Vladimir Davydov Committed by Linus Torvalds
Browse files

memcg: make memcg_update_cache_sizes() static

This function is not used outside of memcontrol.c so make it static.

Signed-off-by: default avatarVladimir Davydov <>
Cc: Johannes Weiner <>
Acked-by: default avatarMichal Hocko <>
Cc: Balbir Singh <>
Cc: KAMEZAWA Hiroyuki <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent 1c98dd90
......@@ -3087,7 +3087,7 @@ int memcg_cache_id(struct mem_cgroup *memcg)
* But when we create a new cache, we can call this as well if its parent
* is kmem-limited. That will have to hold set_limit_mutex as well.
int memcg_update_cache_sizes(struct mem_cgroup *memcg)
static int memcg_update_cache_sizes(struct mem_cgroup *memcg)
int num, ret;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment