From: Mel Gorman Date: Fri, 20 Dec 2013 14:54:11 +0000 (+0000) Subject: Revert "mm: page_alloc: exclude unreclaimable allocations from zone fairness policy" X-Git-Tag: firefly_0821_release~176^2~4745 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=8798cee2f90292ca4ca84baccc757e4d06f8797f;p=firefly-linux-kernel-4.4.55.git Revert "mm: page_alloc: exclude unreclaimable allocations from zone fairness policy" This reverts commit 73f038b863df. The NUMA behaviour of this patch is less than ideal. An alternative approch is to interleave allocations only within local zones which is implemented in the next patch. Cc: stable@vger.kernel.org Signed-off-by: Mel Gorman Signed-off-by: Linus Torvalds --- diff --git a/mm/page_alloc.c b/mm/page_alloc.c index f861d0257e90..580a5f075ed0 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -1920,8 +1920,7 @@ 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) && - (gfp_mask & GFP_MOVABLE_MASK)) { + if (alloc_flags & ALLOC_WMARK_LOW) { if (zone_page_state(zone, NR_ALLOC_BATCH) <= 0) continue; if (zone_reclaim_mode &&