Re: [PATCH] maple_tree: Fix handle of invalidated state in mas_wr_store_setup()

From: Andrew Morton
Date: Tue Jan 10 2023 - 18:19:44 EST


On Tue, 10 Jan 2023 14:21:15 +0000 Liam Howlett <liam.howlett@xxxxxxxxxx> wrote:

> * SeongJae Park <sj@xxxxxxxxxx> [230109 18:43]:
> > Hi Andrew,
> >
> > On Mon, 9 Jan 2023 15:40:12 -0800 Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:
> >
> > > On Mon, 9 Jan 2023 19:22:48 +0000 SeongJae Park <sj@xxxxxxxxxx> wrote:
> > >
> > > > On Mon, 9 Jan 2023 16:55:42 +0000 Liam Howlett <liam.howlett@xxxxxxxxxx> wrote:
> > > >
> > > > > If an invalidated maple state is encountered during write, reset the
> > > > > maple state to MAS_START. This will result in a re-walk of the tree to
> > > > > the correct location for the write.
> > >
> > > Can we think of a Fixes: for this?
>
> It wasn't really an issue until I wrote the vma iterator store
> function.
>
> You can put this before (mm-unstable git id..)
> 9df3d25a97ec ("mm: expand vma iterator interface")

I have dropped "mm: expand vma iterator interface"'s series. Should we
retain this patch as a standalone thing and is the changelog still
appropriate?