Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751414AbdIMWoP (ORCPT ); Wed, 13 Sep 2017 18:44:15 -0400 Received: from mail-wm0-f41.google.com ([74.125.82.41]:46730 "EHLO mail-wm0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751125AbdIMWoN (ORCPT ); Wed, 13 Sep 2017 18:44:13 -0400 X-Google-Smtp-Source: AOwi7QAgDb9/om52WERYaJwDfkC0T2qbzx5MzkA2wLfi7ZbVlRu078hu0foC1zBVHh6aUfw0TNbMTymRaveuVCOKjrA= MIME-Version: 1.0 In-Reply-To: <20170913150904.90a37a966a04ea394a2c3d9b@linux-foundation.org> References: <20170908223934.67442-1-sherryy@android.com> <20170913215932.86846-1-sherryy@android.com> <20170913150904.90a37a966a04ea394a2c3d9b@linux-foundation.org> From: Sherry Yang Date: Wed, 13 Sep 2017 18:44:11 -0400 Message-ID: Subject: Re: [PATCH] mm: Restore mmput_async To: Andrew Morton Cc: linux-kernel@vger.kernel.org, Todd Kjos , Martijn Coenen , =?UTF-8?B?QXJ2ZSBIasO4bm5ldsOlZw==?= , Greg Kroah-Hartman , Ingo Molnar , Michal Hocko , Vlastimil Babka , David Rientjes , Andrea Arcangeli , Peter Zijlstra , Thomas Gleixner , Andy Lutomirski , Oleg Nesterov , Hoeun Ryu , Christoph Lameter , Vegard Nossum , Frederic Weisbecker Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 770 Lines: 18 The patch that uses mmput_async() is https://lkml.org/lkml/2017/9/8/785. Gmail doesn't seem to respect in-reply-to. On Wed, Sep 13, 2017 at 6:09 PM, Andrew Morton wrote: > On Wed, 13 Sep 2017 17:59:27 -0400 Sherry Yang wrote: > >> Restore asynchronous mmput, allowing mmput_async to be called >> from an atomic context in Android binder shrinker callback. >> >> mmput_async was initially introduced in ec8d7c14e >> ("mm, oom_reaper: do not mmput synchronously from the >> oom reaper context"), and was removed in 212925802 >> ("mm: oom: let oom_reap_task and exit_mmap run concurrently") > > Presumably there's a patch somewhere which adds a call to mmput_async() > into drivers/android/binder.c? Where is that patch?