Skip to contentSkip to conversation

powerpc-stop-calling-page_address-in-free_pages.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message Sep 21, 2025

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: powerpc: stop calling page_address() in free_pages()
has been removed from the -mm tree. Its filename was
powerpc-stop-calling-page_address-in-free_pages.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: "Vishal Moola (Oracle)" <[email protected]>
Subject: powerpc: stop calling page_address() in free_pages()
Date: Wed, 3 Sep 2025 11:59:19 -0700

free_pages() should be used when we only have a virtual address. We should call __free_pages() directly on our page instead.

Cc Albert Ou <[email protected]>
Cc Andy Lutomirski <[email protected]>
Cc Catalin Marinas <[email protected]>
Cc Dave Hansen <[email protected]>
Cc Jens Axboe <[email protected]>
Cc Justin Sanders <[email protected]>
Cc Madhavan Srinivasan <[email protected]>
Cc Matthew Wilcox (Oracle) <[email protected]>
Cc Michael Ellerman <[email protected]>
Cc "Michael S. Tsirkin" <[email protected]>
Cc Palmer Dabbelt <[email protected]>
Cc Paul Walmsley <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc SeongJae Park <[email protected]>
Cc Will Deacon <[email protected]>

---

 arch/powerpc/mm/book3s64/radix_pgtable.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/powerpc/mm/book3s64/radix_pgtable.c renamed from arch/powerpc/mm/book3s64/radix_pgtable.c~powerpc-stop-calling-page_address-in-free_pages +1 -1
@@ -780,7 +780,7 @@ static void __meminit free_vmemmap_pages
 		while (nr_pages--)
 			free_reserved_page(page++);
 	} else
-		free_pages((unsigned long)page_address(page), order);
+		__free_pages(page, order);
 }
 
 static void __meminit remove_pte_table(pte_t *pte_start, unsigned long addr,

_

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