summaryrefslogtreecommitdiffstats
path: root/kernel/mm/slab_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/mm/slab_common.c')
-rw-r--r--kernel/mm/slab_common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/mm/slab_common.c b/kernel/mm/slab_common.c
index 3c6a86b4e..bec2fce9f 100644
--- a/kernel/mm/slab_common.c
+++ b/kernel/mm/slab_common.c
@@ -521,8 +521,8 @@ void memcg_create_kmem_cache(struct mem_cgroup *memcg,
goto out_unlock;
cgroup_name(css->cgroup, memcg_name_buf, sizeof(memcg_name_buf));
- cache_name = kasprintf(GFP_KERNEL, "%s(%d:%s)", root_cache->name,
- css->id, memcg_name_buf);
+ cache_name = kasprintf(GFP_KERNEL, "%s(%llu:%s)", root_cache->name,
+ css->serial_nr, memcg_name_buf);
if (!cache_name)
goto out_unlock;