Re: [PATCH -mm] limit direct reclaim for higher order allocations
From: Rik van Riel
Date: Mon Sep 26 2011 - 11:31:21 EST
On 09/26/2011 11:02 AM, Mel Gorman wrote:
I don't have a proper patch prepared but I think it is a mistake for
reclaim and compaction to be using different logic when deciding
if action should be taken. Compaction uses compaction_suitable()
and compaction_deferred() to decide whether it should compact or not
and reclaim/compaction should share the same logic. I don't have a
proper patch but the check would look something like;
Mel and I just hashed out the details on IRC.
I'm building a test kernel with the new logic now and will
post an updated patch if everything works as expected.
--
All rights reversed
--
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/