Re: [PATCH 2/6] mm: vmscan: Scale number of pages reclaimed by reclaim/compactionbased on failures

From: Rik van Riel
Date: Thu Aug 09 2012 - 16:31:42 EST


On 08/09/2012 05:20 AM, Mel Gorman wrote:

The intention is that an allocation can fail but each subsequent attempt will
try harder until there is success. Each allocation request does a portion
of the necessary work to spread the cost between multiple requests.

At some point we need to stop doing that work, though.

Otherwise we could end up back at the problem where
way too much memory gets evicted, and we get swap
storms.
--
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/