Skip to contentSkip to conversation

mm-compaction-count-the-migration-scanned-pages-events-for-proactive-compaction.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: count the migration scanned pages events for proactive compaction
has been removed from the -mm tree. Its filename was
mm-compaction-count-the-migration-scanned-pages-events-for-proactive-compaction.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: count the migration scanned pages events for proactive compaction
Date: Tue, 10 Jan 2023 21:36:20 +0800

The proactive compaction will reuse per-node kcompactd threads, so we should also count the KCOMPACTD_MIGRATE_SCANNED and KCOMPACTD_FREE_SCANNED events for proactive compaction.

---

mm/compaction.c renamed from mm/compaction.c~mm-compaction-count-the-migration-scanned-pages-events-for-proactive-compaction +5 -0
@@ -2659,6 +2659,11 @@ static void proactive_compact_node(pg_da
 		cc.zone = zone;
 
 		compact_zone(&cc, NULL);
+
+		count_compact_events(KCOMPACTD_MIGRATE_SCANNED,
+				     cc.total_migrate_scanned);
+		count_compact_events(KCOMPACTD_FREE_SCANNED,
+				     cc.total_free_scanned);
 	}
 }
 

_

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