x86-stop-calling-page_address-in-free_pages.patch removed from -mm tree
The quilt patch titled
Subject: x86: stop calling page_address() in free_pages()
has been removed from the -mm tree. Its filename was
x86-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: x86: stop calling page_address() in free_pages()
Date: Wed, 3 Sep 2025 11:59:17 -0700
free_pages() should be used when we only have a virtual address. We should call __free_pages() directly on our page instead.
Signed-off-by Vishal Moola (Oracle) <[email protected]>
Acked-by Dave Hansen <[email protected]>
Cc Albert Ou <[email protected]>
Cc Andy Lutomirski <[email protected]>
Cc Catalin Marinas <[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 Ritesh Harjani (IBM) <[email protected]>
Cc SeongJae Park <[email protected]>
Cc Will Deacon <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
arch/x86/mm/init_64.c | 2 +- arch/x86/platform/efi/memmap.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
arch/x86/mm/init_64.c renamed from arch/x86/mm/init_64.c~x86-stop-calling-page_address-in-free_pages +1 -1
@@ -1031,7 +1031,7 @@ static void __meminit free_pagetable(strfree_reserved_pages (page, nr_pages);#endif }else { -free_pages ((unsigned long )page_address (page), order); +__free_pages (page, order); } }
arch/x86/platform/efi/memmap.c renamed from arch/x86/platform/efi/memmap.c~x86-stop-calling-page_address-in-free_pages +1 -1
@@ -42,7 +42,7 @@ void __init __efi_memmap_free(u64 phys,struct page *p =pfn_to_page (PHYS_PFN (phys));unsigned int order =get_order (size); -free_pages ((unsigned long )page_address (p), order); +__free_pages (p, order); } }
_
Patches currently in -mm which might be from [email protected] are