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

From
Suren Baghdasaryan <surenb@google.com>
Date
2026-08-03 19:15:08
Also in
linux-mm, lkml
Reply to
Alice Ryhl, 2026-08-03
On Mon, Aug 3, 2026 at 3:34 AM Alice Ryhl [off-list ref] wrote:
On Sun, Aug 02, 2026 at 02:54:58PM -0700, Suren Baghdasaryan wrote:
quoted
From: Dave Hansen <dave.hansen@linux.intel.com>

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 <dave.hansen@linux.intel.com>
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Thanks!
Thread (48 messages) 48 messages, 6 authors, last reply 2026-08-04
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help