|
@@ -3982,7 +3982,7 @@ static int do_tune_cpucache(struct kmem_cache *cachep, int limit,
|
|
|
|
|
|
VM_BUG_ON(!mutex_is_locked(&slab_mutex));
|
|
VM_BUG_ON(!mutex_is_locked(&slab_mutex));
|
|
for_each_memcg_cache_index(i) {
|
|
for_each_memcg_cache_index(i) {
|
|
- c = cache_from_memcg(cachep, i);
|
|
|
|
|
|
+ c = cache_from_memcg_idx(cachep, i);
|
|
if (c)
|
|
if (c)
|
|
/* return value determined by the parent cache only */
|
|
/* return value determined by the parent cache only */
|
|
__do_tune_cpucache(c, limit, batchcount, shared, gfp);
|
|
__do_tune_cpucache(c, limit, batchcount, shared, gfp);
|