X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=mm%2Fslab.c;h=eb2b2ea301309887972c148bb80aedf8a6731b9b;hb=e7638e7a495b99468f7964b4ff65efe97a277c0c;hp=154aac8411c592816891e4897408e509d9b24785;hpb=f1bfbd984b4e2177886507b6a0ec5faeb6d7c217;p=cascardo%2Flinux.git diff --git a/mm/slab.c b/mm/slab.c index 154aac8411c5..eb2b2ea30130 100644 --- a/mm/slab.c +++ b/mm/slab.c @@ -1992,7 +1992,7 @@ static struct array_cache __percpu *alloc_kmem_cache_cpus( struct array_cache __percpu *cpu_cache; size = sizeof(void *) * entries + sizeof(struct array_cache); - cpu_cache = __alloc_percpu(size, 0); + cpu_cache = __alloc_percpu(size, sizeof(void *)); if (!cpu_cache) return NULL;