Re: [PATCH v3 4/5] binder: Remove mmap_lock fallback

Suren Baghdasaryan <[email protected]> Mon, 3 Aug 2026 12:14:50 -0700
Newsgroups org.kvack.linux-mm,org.kernel.vger.linux-kernel,org.kernel.vger.netdev
Message-ID <CAJuCfpG0wNiOcBmdANjL2Z8x_DPPgfh8dXsYVCeeHHtCfgHSSg@mail.gmail.com>
On Mon, Aug 3, 2026 at 3:34=E2=80=AFAM Alice Ryhl <[email protected]> wr=
ote:
>
> On Sun, Aug 02, 2026 at 02:54:58PM -0700, Suren Baghdasaryan wrote:
> > From: Dave Hansen <[email protected]>
> >
> > Previously, the per-VMA locking could fail in the face of writers
> > which necessitate a fallback to mmap_lock. The new
> > vma_start_read_unlocked() will wait for writers instead of failing.
> >
> > Use the new helper. Wait for writers. Remove the fallback to mmap_lock.
> >
> > Signed-off-by: Dave Hansen <[email protected]>
> > Signed-off-by: Suren Baghdasaryan <[email protected]>
>
> Reviewed-by: Alice Ryhl <[email protected]>

Thanks!