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(-)