Re: [PATCH 03/10] mm: vmscan: Flatten kswapd priority loop

From: Mel Gorman
Date: Sun Mar 17 2013 - 11:09:42 EST

On Sun, Mar 17, 2013 at 07:36:22AM -0700, Andi Kleen wrote:
> Mel Gorman <mgorman@xxxxxxx> writes:
> >
> > To avoid infinite looping for high-order allocation requests kswapd will
> > not reclaim for high-order allocations when it has reclaimed at least
> > twice the number of pages as the allocation request.
> Will this make higher order allocations fail earlier? Or does compaction
> still kick in early enough.

Compaction should still kick in early enough. The impact it might have
is that direct reclaim/compaction may be used more than it was in the

Mel Gorman
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at