Skip to content

binder: optimize handle generation logic

Carlos Llamas lkml stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 14 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4binder: introduce BINDER_SET_PROC_FLAGS ioctldrivers/android/binder.c drivers/android/binder_internal.h include/uapi/linux/android/binder.h+34 -15 replies
2/4binder: migrate ioctl to new PF_SPAM_DETECTIONdrivers/android/binder.c drivers/android/binder_internal.h include/uapi/linux/android/binder.h+10 -64 replies
3/4binder: add support for PF_LARGE_HANDLESdrivers/android/binder.c drivers/android/binder_internal.h include/uapi/linux/android/binder.h+39 -111 reply
4/4binder: fix max_thread type inconsistencydrivers/android/binder.c drivers/android/binder_internal.h+2 -24 replies

Reviews trailers per patch

2 of 4 patches have a Reviewed-by or Acked-by.

PatchAlice Ryhl
1/4
2/4R-b
3/4R-b
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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 <[email protected]>
Cc Arve Hjønnevåg <[email protected]>
Cc Alice Ryhl <[email protected]>
Cc Martijn Coenen <[email protected]>
Cc Todd Kjos <[email protected]>
Cc John Stultz <[email protected]>

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(-)
Signature · 1 line
2.44.0.683.g7961c838ac-goog