[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240325115308.f6344233a27f1633f642f888@linux-foundation.org>
Date: Mon, 25 Mar 2024 11:53:08 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: Yajun Deng <yajun.deng@...ux.dev>
Cc: Liam.Howlett@...cle.com, vbabka@...e.cz, lstoakes@...il.com,
linux-mm@...ck.org, linux-kernel@...r.kernel.org, Helge Deller
<deller@....de>
Subject: Re: [PATCH v2 RESEND] mm/mmap: convert all mas except mas_detach to
vma iterator
On Mon, 25 Mar 2024 14:32:58 +0800 Yajun Deng <yajun.deng@...ux.dev> wrote:
> There are two types of iterators mas and vmi in the current code. If the
> maple tree comes from the mm structure, we can use the vma iterator. Avoid
> using mas directly as possible.
>
> Keep using mas for the mt_detach tree, since it doesn't come from the mm
> structure.
>
> Remove as many uses of mas as possible, but we will still have a few that
> must be passed through in unmap_vmas() and free_pgtables().
>
> Also introduce vma_iter_reset, vma_iter_{prev, next}_range_limit and
> vma_iter_area_{lowest, highest} helper functions for using the vma
> interator.
>
I assume Liam's earlier request still applies?
: Helge,
:
: Yajun has changed code that affects parisc with this patch, which hasn't
: been tested.
:
: ...
:
: Can you make sure that the expand_upwards() still functions on parisc?
Powered by blists - more mailing lists