mm-deduplicate-mm_get_unmapped_area.patch removed from -mm tree
The quilt patch titled
Subject: mm: deduplicate mm_get_unmapped_area()
has been removed from the -mm tree. Its filename was
mm-deduplicate-mm_get_unmapped_area.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: Peter Xu <[email protected]>
Subject: mm: deduplicate mm_get_unmapped_area()
Date: Fri, 27 Jun 2025 12:07:39 -0400
Essentially it sets vm_flags==0 for mm_get_unmapped_area_vmflags(). Use the helper instead to dedup the lines.
Signed-off-by Peter Xu <[email protected]>
Reviewed-by Jason Gunthorpe <[email protected]>
Reviewed-by Oscar Salvador <[email protected]>
Reviewed-by Zi Yan <[email protected]>
Reviewed-by Lorenzo Stoakes <[email protected]>
Reviewed-by Pedro Falcato <[email protected]>
Reviewed-by Dev Jain <[email protected]>
Reviewed-by Anshuman Khandual <[email protected]>
Cc "Liam R. Howlett" <[email protected]>
Cc Vlastimil Babka <[email protected]>
Cc Jann Horn <[email protected]>
Cc Huacai Chen <[email protected]>
Cc Muchun Song <[email protected]>
Cc Thomas Bogendoerfer <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
mm/mmap.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
mm/mmap.c renamed from mm/mmap.c~mm-deduplicate-mm_get_unmapped_area +2 -3
@@ -871,9 +871,8 @@ mm_get_unmapped_area(struct mm_struct *m unsigned long addr, unsigned long len, unsigned long pgoff, unsigned long flags) { - if (test_bit(MMF_TOPDOWN, &mm->flags)) - return arch_get_unmapped_area_topdown(file, addr, len, pgoff, flags, 0); -return arch_get_unmapped_area (file, addr, len, pgoff, flags,0 ); + return mm_get_unmapped_area_vmflags(mm, file, addr, len, + pgoff, flags, 0); }EXPORT_SYMBOL (mm_get_unmapped_area);
_
Patches currently in -mm which might be from [email protected] are