Skip to content

Commit

Permalink
memcg: make memcg_update_cache_sizes() static
Browse files Browse the repository at this point in the history
This function is not used outside of memcontrol.c so make it static.

Signed-off-by: Vladimir Davydov <[email protected]>
Cc: Johannes Weiner <[email protected]>
Acked-by: Michal Hocko <[email protected]>
Cc: Balbir Singh <[email protected]>
Cc: KAMEZAWA Hiroyuki <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Vladimir Davydov authored and torvalds committed Jan 22, 2014
1 parent 1c98dd9 commit 2753b35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mm/memcontrol.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 2753b35

Please sign in to comment.