From: Martijn Coenen <maco@android.com>
To: gregkh@linuxfoundation.org
Cc: arve@android.com, linux-kernel@vger.kernel.org
Subject: [PATCH 00/10] android: binder: support for domains and scatter-gather.
Date: Mon, 24 Oct 2016 15:20:28 +0200 [thread overview]
Message-ID: <1477315238-104062-1-git-send-email-maco@android.com> (raw)
Android userspace will start using binder IPC for communication with HAL
modules. To clearly separate this IPC domain from the existing framework
IPC domain, this patch series adds support for multiple "binder domains".
This is implemented by each domain having its own binder context manager,
and then having a separate device node per domain.
The other change introduced by this series is scatter-gather; currently
all objects passed through binder IPC must be serialized in userspace, with
with the exception of binder objects and file descriptors. By adding scatter-
gather support for memory buffers, we can avoid the serialization copy,
thereby increasing performance for larger transaction sizes.
The two patches from Arve are security patches that we've already applied
in android-common. I included them in front of the series because my changes
touch quite some of that code.
Arve Hjønnevåg (2):
ANDROID: binder: Add strong ref checks
ANDROID: binder: Clear binder and cookie when setting handle in flat
binder struct
Martijn Coenen (8):
android: binder: split flat_binder_object.
android: binder: support multiple context managers.
android: binder: deal with contexts in debugfs.
android: binder: support multiple /dev instances.
android: binder: refactor binder_transact()
android: binder: add extra size to allocator.
android: binder: support for scatter-gather.
android: binder: support for file-descriptor arrays.
drivers/android/Kconfig | 12 +
drivers/android/binder.c | 1021 +++++++++++++++++++++++++++--------
include/uapi/linux/android/binder.h | 103 +++-
3 files changed, 910 insertions(+), 226 deletions(-)
--
2.8.0.rc3.226.g39d4020
next reply other threads:[~2016-10-24 13:21 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-24 13:20 Martijn Coenen [this message]
2016-10-24 13:20 ` [PATCH 01/10] ANDROID: binder: Add strong ref checks Martijn Coenen
2016-10-24 13:26 ` Greg KH
2016-10-24 14:02 ` Martijn Coenen
2016-10-24 13:20 ` [PATCH 02/10] ANDROID: binder: Clear binder and cookie when setting handle in flat binder struct Martijn Coenen
2016-10-24 13:27 ` Greg KH
2016-10-24 14:03 ` Martijn Coenen
2016-10-24 13:20 ` [PATCH 03/10] android: binder: split flat_binder_object Martijn Coenen
2016-10-24 13:20 ` [PATCH 04/10] android: binder: support multiple context managers Martijn Coenen
2016-10-24 13:20 ` [PATCH 05/10] android: binder: deal with contexts in debugfs Martijn Coenen
2016-10-24 13:20 ` [PATCH 06/10] android: binder: support multiple /dev instances Martijn Coenen
2016-10-24 13:20 ` [PATCH 07/10] android: binder: refactor binder_transact() Martijn Coenen
2016-10-24 13:20 ` [PATCH 08/10] android: binder: add extra size to allocator Martijn Coenen
2016-10-24 13:20 ` [PATCH 09/10] android: binder: support for scatter-gather Martijn Coenen
2016-10-24 13:20 ` [PATCH 10/10] android: binder: support for file-descriptor arrays Martijn Coenen
2017-02-03 4:56 ` [PATCH 00/10] android: binder: support for domains and scatter-gather John Stultz
2017-02-03 7:16 ` Greg Kroah-Hartman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1477315238-104062-1-git-send-email-maco@android.com \
--to=maco@android.com \
--cc=arve@android.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.