mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-08 06:03:24 +00:00
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. Signed-off-by: Vladimir Davydov <vdavydov@parallels.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
5f7a75acdb
commit
e8d9df3aba
@ -3513,7 +3513,6 @@ struct kmem_cache *__memcg_kmem_get_cache(struct kmem_cache *cachep,
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user