]> Pileus Git - ~andy/linux/blobdiff - mm/slab.c
ath9k_hw: fix TSF offset calculation
[~andy/linux] / mm / slab.c
index 2580db062df97488a92beeb1e008d866db4d7f7e..0c8967bb201878e567c4d949ae1d9ee57cf04d0b 100644 (file)
--- 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);