Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1712549 > unrolled thread

[PATCH 0/5] android: binder: move allocator metadata and add shrinker

Started bySherry Yang <sherryy@android.com>
First post2017-08-16 02:30 +0200
Last post2017-08-16 02:30 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH 0/5] android: binder: move allocator metadata and add shrinker Sherry Yang <sherryy@android.com> - 2017-08-16 02:30 +0200

#1712549 — [PATCH 0/5] android: binder: move allocator metadata and add shrinker

FromSherry Yang <sherryy@android.com>
Date2017-08-16 02:30 +0200
Subject[PATCH 0/5] android: binder: move allocator metadata and add shrinker
Message-ID<ueUnD-8n1-3@gated-at.bofh.it>
This patch set moves internal kernel data in the binder driver out of mmap
regions that is readable by user space. A shrinker is added to the driver
to dynamically manage the memory used by binder transactions and only free
pages when the system is under memory pressure. This patch set also adds
tests and refactoring in binder allocator.

      android: binder: Refactor prev and next buffer into a helper function
      android: binder: Add allocator selftest
      android: binder: Move buffer out of area shared with user space
      android: binder: Add global lru shrinker to binder
      android: binder: Add shrinker tracepoints

 drivers/android/Kconfig                 |  10 +
 drivers/android/Makefile                |   1 +
 drivers/android/binder.c                |   4 +
 drivers/android/binder_alloc.c          | 365 ++++++++++++++++------
 drivers/android/binder_alloc.h          |  30 +-
 drivers/android/binder_alloc_selftest.c | 310 ++++++++++++++++++
 drivers/android/binder_trace.h          |  55 ++++
 7 files changed, 678 insertions(+), 97 deletions(-)

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web