From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753330AbdJUA7M (ORCPT ); Fri, 20 Oct 2017 20:59:12 -0400 Received: from mail-it0-f66.google.com ([209.85.214.66]:49198 "EHLO mail-it0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753097AbdJUA7K (ORCPT ); Fri, 20 Oct 2017 20:59:10 -0400 X-Google-Smtp-Source: ABhQp+QDSf7y1mpxHJpHa3CbNa//wpOrDj4xEoy6jH0raXGbsSx+jgCg9c52SxIjh0fkhXhLoLJxiQ== From: Sherry Yang To: linux-kernel@vger.kernel.org Cc: tkjos@google.com, maco@google.com Subject: [PATCH v2 0/4] android: binder: fixes for memory allocator change Date: Fri, 20 Oct 2017 20:58:57 -0400 Message-Id: <20171021005902.59586-1-sherryy@android.com> X-Mailer: git-send-email 2.11.0 (Apple Git-81) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-)