[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2be8882d-08eb-4d7d-a846-d29406858bcc@arm.com>
Date: Thu, 6 Nov 2025 15:06:30 +0530
From: Anshuman Khandual <anshuman.khandual@....com>
To: Wentao Guan <guanwentao@...ontech.com>, Liam.Howlett@...cle.com
Cc: vbabka@...e.cz, linux-mm@...ck.org, linux-kernel@...r.kernel.org,
zhanjun@...ontech.com, niecheng1@...ontech.com
Subject: Re: [PATCH] mm: cleanup vma_iter_bulk_alloc
On 06/11/25 12:04 PM, Wentao Guan wrote:
> 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@...ontech.com>
Reviewed-by: Anshuman Khandual <anshuman.khandual@....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
Powered by blists - more mailing lists