linux/drivers/android/binder
Alice Ryhl a0b9b0f143 rust_binder: use lock_vma_under_rcu() in use_page_slow()
There's no reason to lock the whole mm when we are doing operations on
the vma if we can help it, so to reduce contention, use the
lock_vma_under_rcu() abstraction.

Signed-off-by: Alice Ryhl <aliceryhl@google.com>
Reviewed-by: Jann Horn <jannh@google.com>
Reviewed-by: Liam R. Howlett <Liam.Howlett@oracle.com>
Link: https://patch.msgid.link/20260218-binder-vma-rcu-v1-1-8bd45b2b1183@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-02-26 21:34:14 -08:00
..
node
range_alloc rust_binder: fix oneway spam detection 2026-02-26 21:31:50 -08:00
Makefile
allocation.rs
context.rs rust_binder: fix needless borrow in context.rs 2026-02-03 12:58:29 +01:00
deferred_close.rs
defs.rs
error.rs rust_binder: use `kernel::fmt` 2025-10-20 04:04:23 +02:00
freeze.rs Rust changes for v6.19 2025-12-03 14:16:49 -08:00
node.rs rust_binder: add binder_transaction tracepoint 2025-12-29 12:14:52 +01:00
page_range.rs rust_binder: use lock_vma_under_rcu() in use_page_slow() 2026-02-26 21:34:14 -08:00
page_range_helper.c
page_range_helper.h
process.rs rust_binder: call set_notification_done() without proc lock 2026-02-26 21:33:03 -08:00
rust_binder.h rust_binder: return p from rust_binder_transaction_target_node() 2026-02-03 13:10:07 +01:00
rust_binder_events.c
rust_binder_events.h rust_binder: add binder_transaction tracepoint 2025-12-29 12:14:52 +01:00
rust_binder_internal.h
rust_binder_main.rs Char/Misc/IIO driver changes for 7.0-rc1 2026-02-17 09:11:04 -08:00
rust_binderfs.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
stats.rs rust_binder: Switch to kernel::sync atomic primitives 2026-01-09 19:01:41 +08:00
thread.rs rust_binder: avoid reading the written value in offsets array 2026-02-26 21:32:59 -08:00
trace.rs rust_binder: add binder_transaction tracepoint 2025-12-29 12:14:52 +01:00
transaction.rs Char/Misc/IIO driver changes for 7.0-rc1 2026-02-17 09:11:04 -08:00