Skip to contentSkip to conversation

mm-compaction-avoid-fragmentation-score-calculation-for-empty-zones.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message Feb 3, 2023

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: mm: compaction: avoid fragmentation score calculation for empty zones
has been removed from the -mm tree. Its filename was
mm-compaction-avoid-fragmentation-score-calculation-for-empty-zones.patch

This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: Baolin Wang <[email protected]>
Subject: mm: compaction: avoid fragmentation score calculation for empty zones
Date: Tue, 10 Jan 2023 21:36:22 +0800

There is no need to calculate the fragmentation score for empty zones.

---

mm/compaction.c renamed from mm/compaction.c~mm-compaction-avoid-fragmentation-score-calculation-for-empty-zones +2 -0
@@ -2025,6 +2025,8 @@ static unsigned int fragmentation_score_
 		struct zone *zone;
 
 		zone = &pgdat->node_zones[zoneid];
+		if (!populated_zone(zone))
+			continue;
 		score += fragmentation_score_zone_weighted(zone);
 	}
 

_

Patches currently in -mm which might be from [email protected] are