mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-09 16:12:21 +00:00
memcg: cleanup kmem cache creation/destruction functions naming
Current names are rather inconsistent. Let's try to improve them. Brief change log: ** old name ** ** new name ** kmem_cache_create_memcg memcg_create_kmem_cache memcg_kmem_create_cache memcg_regsiter_cache memcg_kmem_destroy_cache memcg_unregister_cache kmem_cache_destroy_memcg_children memcg_cleanup_cache_params mem_cgroup_destroy_all_caches memcg_unregister_all_caches create_work memcg_register_cache_work memcg_create_cache_work_func memcg_register_cache_func memcg_create_cache_enqueue memcg_schedule_register_cache Signed-off-by: Vladimir Davydov <vdavydov@parallels.com> Acked-by: Michal Hocko <mhocko@suse.cz> Cc: Johannes Weiner <hannes@cmpxchg.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
172cb4b3d4
commit
776ed0f037
4 changed files with 36 additions and 40 deletions
|
@ -116,7 +116,7 @@ struct kmem_cache *kmem_cache_create(const char *, size_t, size_t,
|
|||
unsigned long,
|
||||
void (*)(void *));
|
||||
#ifdef CONFIG_MEMCG_KMEM
|
||||
struct kmem_cache *kmem_cache_create_memcg(struct mem_cgroup *,
|
||||
struct kmem_cache *memcg_create_kmem_cache(struct mem_cgroup *,
|
||||
struct kmem_cache *,
|
||||
const char *);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue