Re: [PATCH] mm/vma: undo userfaultfd unmap preparation when unmapping fails
From: Mike Rapoport
Date: Wed Dec 02 2026 - 06:16:24 EST
On Wed, Dec 02, 2026 at 09:50:55AM +0000, Lorenzo Stoakes (ARM) wrote:
> On Wed, Dec 02, 2026 at 09:12:16AM +0200, Mike Rapoport wrote:
> > On Tue, Dec 01, 2026 at 02:56:49PM +0000, Lorenzo Stoakes (ARM) wrote:
> > > Ahem. I see this got merged already without any input from VMA people :)
> > >
> > > The AI slop wave is making the workload nearly unmanageable, so it's easy
> > > to miss stuff, you are welcome to nag though.
> > >
> > > This gets fixed next cycle when the VMA tree becomes independent, but let's
> > > try to avoid this for the remainder of the cycle please!
> > >
> > > I wonder if we could have avoided propagating this terrible linked list
> > > stuff here. But ah well, too late.
> >
> > Believe me, I tried :)
>
> Yeah I'm sure, sorry this grumble wasn't aimed at you :) this llist stuff is
> inherited crap and the AI fixes put pressure on getting known issues fixed.
>
> >
> > > Maybe not possible for a backport but would have been good to explore at
> > > least!
> >
> > Maybe with vm_uffd_state in VMA, but that's a long shot.
>
> Yeah, I maybe took some fields in vm_area_struct that impacted that haha ;)
> sorry about that...
I'll revisit this when AI fixes madness calms down.
> --
> Cheers, Lorenzo
--
Sincerely yours,
Mike.