Re: [PATCH v3 -mm 3/3] mm: only defer compaction for failed orderand higher

From: Mel Gorman
Date: Mon Jan 30 2012 - 05:47:26 EST


On Thu, Jan 26, 2012 at 03:01:02PM -0500, Rik van Riel wrote:
> Currently a failed order-9 (transparent hugepage) compaction can
> lead to memory compaction being temporarily disabled for a memory
> zone. Even if we only need compaction for an order 2 allocation,
> eg. for jumbo frames networking.
>
> The fix is relatively straightforward: keep track of the highest
> order at which compaction is succeeding, and only defer compaction
> for orders at which compaction is failing.
>
> Signed-off-by: Rik van Riel <riel@xxxxxxxxxx>

Acked-by: Mel Gorman <mel@xxxxxxxxx>

--
Mel Gorman
SUSE Labs
--
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/