All of lore.kernel.org
 help / color / mirror / Atom feed
* [merged mm-stable] mm-compaction-avoid-fragmentation-score-calculation-for-empty-zones.patch removed from -mm tree
@ 2023-02-03  6:35 Andrew Morton
  0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2023-02-03  6:35 UTC (permalink / raw)
  To: mm-commits, willy, baolin.wang, akpm


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 <baolin.wang@linux.alibaba.com>
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.

Link: https://lkml.kernel.org/r/100331ad9d274a9725e687b00d85d75d7e4a17c7.1673342761.git.baolin.wang@linux.alibaba.com
Signed-off-by: Baolin Wang <baolin.wang@linux.alibaba.com>
Cc: Matthew Wilcox <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---


--- a/mm/compaction.c~mm-compaction-avoid-fragmentation-score-calculation-for-empty-zones
+++ a/mm/compaction.c
@@ -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 baolin.wang@linux.alibaba.com are



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-02-03  6:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-03  6:35 [merged mm-stable] mm-compaction-avoid-fragmentation-score-calculation-for-empty-zones.patch removed from -mm tree Andrew Morton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.