]> Git Repo - linux.git/commit
memcg: get rid of kmem_cache_dup()
authorVladimir Davydov <[email protected]>
Thu, 23 Jan 2014 23:53:03 +0000 (15:53 -0800)
committerLinus Torvalds <[email protected]>
Fri, 24 Jan 2014 00:36:51 +0000 (16:36 -0800)
commit842e2873697e023d140a8905a41fcf39d4e546f1
tree5ba705288c9cc5cee0e22a3c55166e8982c994db
parent2edefe1155b3ad3dc92065f6e1018d363525296e
memcg: get rid of kmem_cache_dup()

kmem_cache_dup() is only called from memcg_create_kmem_cache().  The
latter, in fact, does nothing besides this, so let's fold
kmem_cache_dup() into memcg_create_kmem_cache().

This patch also makes the memcg_cache_mutex private to
memcg_create_kmem_cache(), because it is not used anywhere else.

Signed-off-by: Vladimir Davydov <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Glauber Costa <[email protected]>
Cc: Johannes Weiner <[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]>
mm/memcontrol.c
This page took 0.050512 seconds and 4 git commands to generate.