mm: page_alloc: exclude unreclaimable allocations from zone fairness policy
[deliverable/linux.git] / mm / page_alloc.c
index 580a5f075ed0ab6e3047351a8271b1f053e35774..f861d0257e90048096b6398dabc7a8ce9a0bed3c 100644 (file)
@@ -1920,7 +1920,8 @@ zonelist_scan:
                 * back to remote zones that do not partake in the
                 * fairness round-robin cycle of this zonelist.
                 */
-               if (alloc_flags & ALLOC_WMARK_LOW) {
+               if ((alloc_flags & ALLOC_WMARK_LOW) &&
+                   (gfp_mask & GFP_MOVABLE_MASK)) {
                        if (zone_page_state(zone, NR_ALLOC_BATCH) <= 0)
                                continue;
                        if (zone_reclaim_mode &&
This page took 0.048149 seconds and 5 git commands to generate.