Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e8d9df3a authored by Vladimir Davydov's avatar Vladimir Davydov Committed by Linus Torvalds
Browse files

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: default avatarVladimir Davydov <vdavydov@parallels.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 5f7a75ac
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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