On Fri, Jul 08, 2016 at 10:35:03AM +0100, Mel Gorman wrote: > The buffer_heads_over_limit limit in kswapd is inconsistent with direct > reclaim behaviour. It may force an an attempt to reclaim from all zones and > then not reclaim at all because higher zones were balanced than required > by the original request. > > This patch will causes kswapd to consider reclaiming from all zones if > buffer_heads_over_limit. However, if there are eligible zones for the > allocation request that woke kswapd then no reclaim will occur even if > buffer_heads_over_limit. This avoids kswapd over-reclaiming just because > buffer_heads_over_limit. > > Signed-off-by: Mel Gorman <mgorman@xxxxxxxxxxxxxxxxxxx> Acked-by: Johannes Weiner <hannes@xxxxxxxxxxx> -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>