mm: memcontrol: group kmem init and exit functions together
[cascardo/linux.git] / mm / vmscan.c
index 5ac8695..05dd182 100644 (file)
@@ -411,7 +411,7 @@ static unsigned long shrink_slab(gfp_t gfp_mask, int nid,
        struct shrinker *shrinker;
        unsigned long freed = 0;
 
-       if (memcg && !memcg_kmem_is_active(memcg))
+       if (memcg && !memcg_kmem_online(memcg))
                return 0;
 
        if (nr_scanned == 0)