Re: [PATCH 6/7] mm: page_alloc: Only account batch allocationsrequests that are eligible

From: Johannes Weiner
Date: Mon Dec 16 2013 - 15:52:47 EST


On Fri, Dec 13, 2013 at 02:10:06PM +0000, Mel Gorman wrote:
> Not signed off. Johannes, was the intent really to decrement the batch
> counts regardless of whether the policy was being enforced or not?

Yes. Bursts of allocations for which the policy does not get enforced
will still create memory pressure and affect cache aging on a given
node. So even if we only distribute page cache, we want to distribute
it in a way that all allocations on the eligible zones equal out.
--
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/