linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mm: cleanup vma_iter_bulk_alloc
@ 2025-11-06  6:34 Wentao Guan
  2025-11-06  9:36 ` Anshuman Khandual
  2025-11-06 11:13 ` WangYuli
  0 siblings, 2 replies; 3+ messages in thread
From: Wentao Guan @ 2025-11-06  6:34 UTC (permalink / raw)
  To: Liam.Howlett
  Cc: vbabka, linux-mm, linux-kernel, zhanjun, niecheng1, Wentao Guan

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

No functional change.

Signed-off-by: Wentao Guan <guanwentao@uniontech.com>
---
 mm/vma.h | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/mm/vma.h b/mm/vma.h
index 9183fe5490090..4aa72c7e94400 100644
--- a/mm/vma.h
+++ b/mm/vma.h
@@ -498,12 +498,6 @@ static inline unsigned long vma_iter_end(struct vma_iterator *vmi)
 	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)
 {

base-commit: dc77806cf3b4788d328fddf245e86c5b529f31a2
-- 
2.20.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-11-06 11:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-06  6:34 [PATCH] mm: cleanup vma_iter_bulk_alloc Wentao Guan
2025-11-06  9:36 ` Anshuman Khandual
2025-11-06 11:13 ` WangYuli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).