Skip to contentSkip to conversation

mm-vmscan-remove-redundant-check-in-shrink_zones.patch removed from -mm tree

merged [email protected] 1 participant 1 message Jul 29, 2016

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: mm, vmscan: remove redundant check in shrink_zones()
has been removed from the -mm tree. Its filename was
mm-vmscan-remove-redundant-check-in-shrink_zones.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Mel Gorman <[email protected]>
Subject: mm, vmscan: remove redundant check in shrink_zones()

As pointed out by Minchan Kim, shrink_zones() checks for populated zones in a zonelist but a zonelist can never contain unpopulated zones. While it's not related to the node-lru series, it can be cleaned up now.

---

 mm/vmscan.c |    3 ---
 1 file changed, 3 deletions(-)
mm/vmscan.c renamed from mm/vmscan.c~mm-vmscan-remove-redundant-check-in-shrink_zones +0 -2
diff -puN mm/vmscan.c~mm-vmscan-remove-redundant-check-in-shrink_zones mm/vmscan.c
@@ -2605,9 +2605,6 @@ static void shrink_zones(struct zonelist
 
 	for_each_zone_zonelist_nodemask(zone, z, zonelist,
 					sc->reclaim_idx, sc->nodemask) {
-		if (!populated_zone(zone))
-			continue;