tools headers cpufeatures: Sync with the kernel sources
[linux-2.6-microblaze.git] / mm / failslab.c
index ec5aad2..f92fed9 100644 (file)
@@ -23,7 +23,8 @@ bool __should_failslab(struct kmem_cache *s, gfp_t gfpflags)
        if (gfpflags & __GFP_NOFAIL)
                return false;
 
-       if (failslab.ignore_gfp_reclaim && (gfpflags & __GFP_RECLAIM))
+       if (failslab.ignore_gfp_reclaim &&
+                       (gfpflags & __GFP_DIRECT_RECLAIM))
                return false;
 
        if (failslab.cache_filter && !(s->flags & SLAB_FAILSLAB))