Re: [patch 4/8] mm: vmscan: clarify LRU balancing close to OOM

From: Rik van Riel
Date: Wed Dec 12 2012 - 17:06:29 EST

On 12/12/2012 04:43 PM, Johannes Weiner wrote:
There are currently several inter-LRU balancing heuristics that simply
get disabled when the reclaimer is at the last reclaim cycle before
giving up, but the code is quite cumbersome and not really obvious.

Make the heuristics visibly unreachable for the last reclaim cycle.

Signed-off-by: Johannes Weiner <hannes@xxxxxxxxxxx>

Nice cleanup!

Reviewed-by: Rik van Riel <riel@xxxxxxxxxx>

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