Skip to contentSkip to conversation

mm-cleanup-vma_iter_bulk_alloc.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message Jan 21

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

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 <[email protected]>
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.

---

 include/linux/maple_tree.h |    1 -
 mm/vma.h                   |    6 ------
 2 files changed, 7 deletions(-)
include/linux/maple_tree.h renamed from include/linux/maple_tree.h~mm-cleanup-vma_iter_bulk_alloc +0 -1
@@ -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);
mm/vma.h renamed from mm/vma.h~mm-cleanup-vma_iter_bulk_alloc +0 -6
@@ -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 [email protected] are