mm: exclude memoryless nodes from zone_reclaim
[platform/adaptation/renesas_rcar/renesas_kernel.git] / mm / slab_common.c
index 1ec3c61..f149e67 100644 (file)
@@ -56,7 +56,7 @@ static int kmem_cache_sanity_check(struct mem_cgroup *memcg, const char *name,
                        continue;
                }
 
-#if !defined(CONFIG_SLUB) || !defined(CONFIG_SLUB_DEBUG_ON)
+#if !defined(CONFIG_SLUB)
                /*
                 * For simplicity, we won't check this in the list of memcg
                 * caches. We have control over memcg naming, and if there