Re: [PATCH] mm: vmscan: Stop reclaim/compaction earlier due to insufficientprogress if !__GFP_REPEAT

From: Rik van Riel
Date: Wed Feb 16 2011 - 07:12:32 EST


On 02/16/2011 04:50 AM, Mel Gorman wrote:

This patch will stop reclaim/compaction if no pages were reclaimed in the
last SWAP_CLUSTER_MAX pages that were considered. For allocations such as
hugetlbfs that use GFP_REPEAT and have fewer fallback options, the full LRU
list may still be scanned.

Signed-off-by: Mel Gorman<mel@xxxxxxxxx>

Acked-by: Rik van Riel <riel@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/