Message ID | 1413179927-10533-1-git-send-email-iamjoonsoo.kim@lge.com |
---|---|
State | Not Applicable |
Delegated to: | David Miller |
Headers | show |
diff --git a/mm/slab.c b/mm/slab.c index 154aac8..eb2b2ea 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;