Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp6029461imm; Wed, 27 Jun 2018 00:36:32 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIS97EoiFv+58ckthcKDgNc9+Z9GetesJck0ZZYy59RbOqQdN4wjXqfSoFQZru7fwv9RnYr X-Received: by 2002:a17:902:42a3:: with SMTP id h32-v6mr4959980pld.72.1530084992669; Wed, 27 Jun 2018 00:36:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530084992; cv=none; d=google.com; s=arc-20160816; b=f93eI3K7/akKGfe57jepIJZmTKDTQwmST1oFwluJg0nDBGEd3MNT7uRD4H0NWE+GXm m53wwpKubyyRkebHw+5Gw4/bHI4dcePRTXEFnddQpYJsJy9Kqr04Nm7xZDjv0/o7mU4I OlyD+i7pQP+gvJ6W+viKshXT4DgBWTpQLbIlnJWnkP0mgrLQAILI2oxoCuVBnyF/x5+x 8X02YNn4C27dmY+qOM+uwmDB5IqQyaAkcOWUKE5/DFmHQTr/g66cVU+1QOh/FnW3bbwq 3NrvlqbrLxIsO4SGIPWHkEVbPJDFuss3zPIVVm8JqSo4bkMoi0/F5wUm00XgE/087zJt g+sQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=cpfWLCkkz9lAEDjT03Amt4RdE6Ytgn9/X2GXUHljoSE=; b=dufpoNSxnuM4Iaynrb51TIgWalZd7gokb3RliZhIITEoWw/uZJ4oe/hyasjYHqZG80 w6EQLJbtE2/HvR0TmmHxxQUm/xCLiGas0eLi417Q+qXCGEvd7fnL6bxPOTuFXa/rdEN3 iqB+vzIfuA9x6H92rY/iTNFBWTjgNoU5K+ME2qqO0etK/P4TdFDOyNkckd6ger6fdbhW dV5TduZt9L7NPV7mEdXPZ3GpZr3Ha93xiEis3NYbINdFRg+C2WRVu+fBOxO6wWC3G5Jk c/AaiUjYHf5Udez3V2qcSAI5Q2M4JKgodIP4L93hHItmoj6swl3CXQQ8EwUd18bXUCQ7 rUug== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g10-v6si2926585pgp.479.2018.06.27.00.36.14; Wed, 27 Jun 2018 00:36:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753175AbeF0HWK (ORCPT + 99 others); Wed, 27 Jun 2018 03:22:10 -0400 Received: from mx2.suse.de ([195.135.220.15]:37828 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752946AbeF0HWJ (ORCPT ); Wed, 27 Jun 2018 03:22:09 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext-too.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 9978BAE2A; Wed, 27 Jun 2018 07:22:08 +0000 (UTC) Date: Wed, 27 Jun 2018 09:22:07 +0200 From: Michal Hocko To: "Paul E. McKenney" Cc: Tetsuo Handa , David Rientjes , linux-mm@kvack.org, Andrew Morton , linux-kernel@vger.kernel.org Subject: Re: [PATCH] mm,oom: Bring OOM notifier callbacks to outside of OOM killer. Message-ID: <20180627072207.GB32348@dhcp22.suse.cz> References: <1529493638-6389-1-git-send-email-penguin-kernel@I-love.SAKURA.ne.jp> <20180621073142.GA10465@dhcp22.suse.cz> <2d8c3056-1bc2-9a32-d745-ab328fd587a1@i-love.sakura.ne.jp> <20180626170345.GA3593@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180626170345.GA3593@linux.vnet.ibm.com> User-Agent: Mutt/1.10.0 (2018-05-17) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue 26-06-18 10:03:45, Paul E. McKenney wrote: [...] > 3. Something else? How hard it would be to use a different API than oom notifiers? E.g. a shrinker which just kicks all the pending callbacks if the reclaim priority reaches low values (e.g. 0)? -- Michal Hocko SUSE Labs