Skip to contentSkip to conversation

memcg: un-export __memcg_kmem_get_cache

PATCH New Vladimir Davydov 1 participant 1 message Apr 7, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 memcg: un-export __memcg_kmem_get_cache

It is only used in slab and should not be used anywhere else so there is no need in exporting it.

---
 mm/memcontrol.c |    1 -
 1 file changed, 1 deletion(-)
mm/memcontrol.c +0 -1
index b4b6aef562fa..874594f57c90 100644
@@ -3504,7 +3504,6 @@ out:
 	rcu_read_unlock();
 	return cachep;
 }
-EXPORT_SYMBOL(__memcg_kmem_get_cache);
 
 /*
  * We need to verify if the allocation against current->mm->owner's memcg is
Signature · 1 line
1.7.10.4