[PATCH 0/4] binder: optimize handle generation logic

Carlos Llamas
2024-04-17T19:14:42Z

This patchset adds the ability for userspace to select a faster handle
generation logic. This is implemented through a new ioctl that enables
certain functionality on a "per-proc" basis, this is required in order
to maintain backwards compatibility.

Cc: Tim Murray <timmurray@google.com>
Cc: Arve Hjønnevåg <arve@android.com>
Cc: Alice Ryhl <aliceryhl@google.com>
Cc: Martijn Coenen <maco@android.com>
Cc: Todd Kjos <tkjos@android.com>
Cc: John Stultz <jstultz@google.com>

Carlos Llamas (4):
binder: introduce BINDER_SET_PROC_FLAGS ioctl
binder: migrate ioctl to new PF_SPAM_DETECTION
binder: add support for PF_LARGE_HANDLES
binder: fix max_thread type inconsistency

drivers/android/binder.c | 78 +++++++++++++++++++++++------
drivers/android/binder_internal.h | 10 ++--
include/uapi/linux/android/binder.h | 13 ++++-
3 files changed, 83 insertions(+), 18 deletions(-)

--
2.44.0.683.g7961c838ac-goog