X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=mm%2Fslab.c;h=0c8967bb201878e567c4d949ae1d9ee57cf04d0b;hb=049ffa8ab33a63b3bff672d1a0ee6a35ad253fe8;hp=2580db062df97488a92beeb1e008d866db4d7f7e;hpb=bca3523b2283ac6e81e37d56ddebef1786ac6557;p=cascardo%2Flinux.git diff --git a/mm/slab.c b/mm/slab.c index 2580db062df9..0c8967bb2018 100644 --- a/mm/slab.c +++ b/mm/slab.c @@ -3982,7 +3982,7 @@ static int do_tune_cpucache(struct kmem_cache *cachep, int limit, VM_BUG_ON(!mutex_is_locked(&slab_mutex)); for_each_memcg_cache_index(i) { - c = cache_from_memcg(cachep, i); + c = cache_from_memcg_idx(cachep, i); if (c) /* return value determined by the parent cache only */ __do_tune_cpucache(c, limit, batchcount, shared, gfp);