提交 2753b35b 编写于 作者: V Vladimir Davydov 提交者: Linus Torvalds

memcg: make memcg_update_cache_sizes() static

This function is not used outside of memcontrol.c so make it static.
Signed-off-by: NVladimir Davydov <vdavydov@parallels.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: NMichal Hocko <mhocko@suse.cz>
Cc: Balbir Singh <bsingharora@gmail.com>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 1c98dd90
...@@ -3087,7 +3087,7 @@ int memcg_cache_id(struct mem_cgroup *memcg) ...@@ -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 * 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. * 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; int num, ret;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册