Skip to contentSkip to conversation

mm-page_alloc-make-__alloc_contig_migrate_range-static.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message Jan 14, 2025

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: mm/page_alloc: make __alloc_contig_migrate_range() static
has been removed from the -mm tree. Its filename was
mm-page_alloc-make-__alloc_contig_migrate_range-static.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: David Hildenbrand <[email protected]>
Subject: mm/page_alloc: make __alloc_contig_migrate_range() static
Date: Tue, 3 Dec 2024 10:47:29 +0100

The single user is in page_alloc.c.

---

 mm/internal.h   |    4 ----
 mm/page_alloc.c |    5 ++---
 2 files changed, 2 insertions(+), 7 deletions(-)
mm/internal.h renamed from mm/internal.h~mm-page_alloc-make-__alloc_contig_migrate_range-static +0 -4
@@ -839,10 +839,6 @@ int
 isolate_migratepages_range(struct compact_control *cc,
 			   unsigned long low_pfn, unsigned long end_pfn);
 
-int __alloc_contig_migrate_range(struct compact_control *cc,
-					unsigned long start, unsigned long end,
-					int migratetype);
-
 /* Free whole pageblock and set its migration type to MIGRATE_CMA. */
 void init_cma_reserved_pageblock(struct page *page);
 
mm/page_alloc.c renamed from mm/page_alloc.c~mm-page_alloc-make-__alloc_contig_migrate_range-static +2 -3
@@ -6280,9 +6280,8 @@ static void alloc_contig_dump_pages(stru
  * @migratetype: using migratetype to filter the type of migration in
  *		trace_mm_alloc_contig_migrate_range_info.
  */
-int __alloc_contig_migrate_range(struct compact_control *cc,
-					unsigned long start, unsigned long end,
-					int migratetype)
+static int __alloc_contig_migrate_range(struct compact_control *cc,
+		unsigned long start, unsigned long end, int migratetype)
 {
 	/* This function is based on compact_zone() from compaction.c. */
 	unsigned int nr_reclaimed;

_

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

mm-huge_memory-convert-has_hwpoisoned-into-a-pure-folio-flag.patch mm-hugetlb-rename-isolate_hugetlb-to-folio_isolate_hugetlb.patch mm-migrate-dont-call-folio_putback_active_hugetlb-on-dst-hugetlb-folio.patch mm-hugetlb-rename-folio_putback_active_hugetlb-to-folio_putback_hugetlb.patch mm-hugetlb-cgroup-convert-hugetlb_cgroup_css_offline-to-work-on-folios.patch mm-hugetlb-use-folio-lru-int-demote_free_hugetlb_folios.patch