Skip to content

android: binder: fixes for memory allocator change

Sherry Yang lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest4 patches 5 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4android: binder: Don't get mm from taskdrivers/android/binder_alloc.c drivers/android/binder_alloc.h+9 -145 replies
2/4android: binder: Fix null ptr dereference in debug msgdrivers/android/binder_alloc.c+1 -10 replies
3/4android: binder: Remove unused vma argumentdrivers/android/binder_alloc.c+7 -90 replies
4/4android: binder: Change binder_shrinker to staticdrivers/android/binder_alloc.c+1 -10 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchArve Hjønnevåg
1/4A-b
2/4A-b
3/4A-b
4/4A-b

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

Read the v2 thread

Cover letter [PATCH v2 0/4] android: binder: fixes for memory allocator change

This patchset resolves a potential deadlock between lru lock, task lock and dentry lock reported by lockdep. It also fixes the null pointer dereference in kernel debug message in binder_alloc.c.

Unused vma argument is removed, and binder shrinker is made static.

android: binder: Don't get mm from task
android: binder: Fix null ptr dereference in debug msg
android: binder: Remove unused vma argument
android: binder: Change binder_shrinker to static

v2: combines the version 1 of two separate patches and reorder the commits so that the first two can be applied to 4.14.

drivers/android/binder_alloc.c | 40 +++++++++++++++++----------------------- drivers/android/binder_alloc.h | 1 -

2 files changed, 17 insertions(+), 24 deletions(-)