All of lore.kernel.org
 help / color / mirror / Atom feed
* [merged mm-stable] mm-cleanup-vma_iter_bulk_alloc.patch removed from -mm tree
@ 2026-01-21  3:28 Andrew Morton
  0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2026-01-21  3:28 UTC (permalink / raw)
  To: mm-commits, vbabka, pfalcato, niecheng1, lorenzo.stoakes,
	Liam.Howlett, jannh, anshuman.khandual, guanwentao, akpm


The quilt patch titled
     Subject: mm: cleanup vma_iter_bulk_alloc
has been removed from the -mm tree.  Its filename was
     mm-cleanup-vma_iter_bulk_alloc.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: Wentao Guan <guanwentao@uniontech.com>
Subject: mm: cleanup vma_iter_bulk_alloc
Date: Thu, 6 Nov 2025 19:09:29 +0800

commit d24062914837 ("fork: use __mt_dup() to duplicate maple tree in
dup_mmap()"), removed the only user and mas_expected_entries has been
removed, since commit e3852a1213ffc ("maple_tree: Drop bulk insert
support").  Also cleanup the mas_expected_entries in maple_tree.h.

No functional change.

Link: https://lkml.kernel.org/r/20251106110929.3522073-1-guanwentao@uniontech.com
Signed-off-by: Wentao Guan <guanwentao@uniontech.com>
Reviewed-by: Liam R. Howlett <Liam.Howlett@oracle.com>
Cc: Anshuman Khandual <anshuman.khandual@arm.com>
Cc: Cheng Nie <niecheng1@uniontech.com>
Cc: Guan Wentao <guanwentao@uniontech.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Cc: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Cc: Jann Horn <jannh@google.com>
Cc: Pedro Falcato <pfalcato@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 include/linux/maple_tree.h |    1 -
 mm/vma.h                   |    6 ------
 2 files changed, 7 deletions(-)

--- a/include/linux/maple_tree.h~mm-cleanup-vma_iter_bulk_alloc
+++ a/include/linux/maple_tree.h
@@ -528,7 +528,6 @@ bool mas_nomem(struct ma_state *mas, gfp
 void mas_pause(struct ma_state *mas);
 void maple_tree_init(void);
 void mas_destroy(struct ma_state *mas);
-int mas_expected_entries(struct ma_state *mas, unsigned long nr_entries);
 
 void *mas_prev(struct ma_state *mas, unsigned long min);
 void *mas_prev_range(struct ma_state *mas, unsigned long max);
--- a/mm/vma.h~mm-cleanup-vma_iter_bulk_alloc
+++ a/mm/vma.h
@@ -561,12 +561,6 @@ static inline unsigned long vma_iter_end
 	return vmi->mas.last + 1;
 }
 
-static inline int vma_iter_bulk_alloc(struct vma_iterator *vmi,
-				      unsigned long count)
-{
-	return mas_expected_entries(&vmi->mas, count);
-}
-
 static inline
 struct vm_area_struct *vma_iter_prev_range(struct vma_iterator *vmi)
 {
_

Patches currently in -mm which might be from guanwentao@uniontech.com are



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-01-21  3:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-21  3:28 [merged mm-stable] mm-cleanup-vma_iter_bulk_alloc.patch removed from -mm tree Andrew Morton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.