Re: [PATCH 07/27] mm, vmscan: Remove balance gap

From: Vlastimil Babka
Date: Wed Jun 15 2016 - 10:28:09 EST


On 06/09/2016 08:04 PM, Mel Gorman wrote:
The balance gap was introduced to apply equal pressure to all zones when
reclaiming for a higher zone. With node-based LRU, the need for the balance
gap is removed and the code is dead so remove it.

Signed-off-by: Mel Gorman <mgorman@xxxxxxxxxxxxxxxxxxx>

Acked-by: Vlastimil Babka <vbabka@xxxxxxx>

---
mm/vmscan.c | 19 ++++++++-----------
1 file changed, 8 insertions(+), 11 deletions(-)

Also this:
include/linux/swap.h:#define KSWAPD_ZONE_BALANCE_GAP_RATIO 100