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

From: Carlos Llamas
Date: Wed Apr 17 2024 - 15:14:49 EST


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@xxxxxxxxxx>
Cc: Arve Hjønnevåg <arve@xxxxxxxxxxx>
Cc: Alice Ryhl <aliceryhl@xxxxxxxxxx>
Cc: Martijn Coenen <maco@xxxxxxxxxxx>
Cc: Todd Kjos <tkjos@xxxxxxxxxxx>
Cc: John Stultz <jstultz@xxxxxxxxxx>

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