Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp1156848imm; Wed, 20 Jun 2018 12:37:25 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKuTLjr0ZFveq4cmpQqnpjQKwRq95GoaLCyYCw1PCQOK+bzsv5X09hNGw4Lyn+gnXIg73qK X-Received: by 2002:a62:f407:: with SMTP id r7-v6mr24000817pff.47.1529523445836; Wed, 20 Jun 2018 12:37:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529523445; cv=none; d=google.com; s=arc-20160816; b=EbaBODLyEpurAoJjN4eKaTVQnV8uj7/DeLmEXxMkCnuLMLedSctQFeU2M/iD7FKD8N /p2NnsnPXkShiTHA37esYNJHU7owqNCRAT11bljn21UwoT6txUFrJCdueRShb/hQCp+e TAsJ5z3CrIju8ZoCw44CPMAOYg6SdJrLXgDRQlb6dNMFfFXD4iaTYgwqhebiPqtWamC4 7Tld+lKPDH7igNlfpKVXHyIQjiw6eCYk7N1pEeRE6f4J6/1iG1cda+sktmjxWAefA0Pj YkvCLuxqcgOJq//Y9OPgYOwf5DzllhHItNgCHpvfAkOaQFr9NK0lsLwQevULFwCL9g9+ S10A== 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:dkim-signature:arc-authentication-results; bh=e+M0KcvkbVw+2eImN+ms6sV/25aIIbGAi8gsMKrQUnw=; b=JlZrCG4ykEGnLLxZh6m4BBZVr8qJw+ADE5co1SRwBAXmHaAftpWioXUjSnqOPQCep9 cHfqH3la4T7z2ZOpiS2IGNBr005kTtrWxQ1OehqVdf0FZz4SS92nSUZojZS/A7KBJ2kw CPb/IhYbVE3ivnyYwdQYZJgp8HsTY63vSisCcGq0NLaus6fNDraR4s3BHmugQTpchKml JxS7jcddp1FFKiQf01gklplKqHnwzvlta4EKKTaevLefoIspLoUH8eefY6OtDkKLSe4r 40CE6Cl8JZROvAT4zFUyYL+bpm8LnnYoqTmfYkP2ETVaGoZc9HTR6ZkAH7qvM7LckAjS 6ntw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@cmpxchg.org header.s=x header.b=kbFv9gPZ; 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=cmpxchg.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i16-v6si2956769pfi.234.2018.06.20.12.37.11; Wed, 20 Jun 2018 12:37:25 -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; dkim=fail header.i=@cmpxchg.org header.s=x header.b=kbFv9gPZ; 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=cmpxchg.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754998AbeFTTgN (ORCPT + 99 others); Wed, 20 Jun 2018 15:36:13 -0400 Received: from gum.cmpxchg.org ([85.214.110.215]:48640 "EHLO gum.cmpxchg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754858AbeFTTgM (ORCPT ); Wed, 20 Jun 2018 15:36:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=cmpxchg.org ; s=x; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject: Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=e+M0KcvkbVw+2eImN+ms6sV/25aIIbGAi8gsMKrQUnw=; b=kbFv9gPZZsKSSwHd4Ro9w3GoEc UXDblvR4BqXkeFFw9QPzwTKW2w0hYGZ/53zk3sbx3hjEBKRWwQZumcb8FpU0+BiCnsIO4TZSWJBPx WrVVY5jypvoot56ktR2PVE1cJRnFhvJtmgELDkwhMbI6cola2Pih7de+hVL7lYMZT7mc=; Date: Wed, 20 Jun 2018 15:38:36 -0400 From: Johannes Weiner To: Michal Hocko Cc: linux-mm@kvack.org, Greg Thelen , Shakeel Butt , Andrew Morton , LKML Subject: Re: [RFC PATCH] memcg, oom: move out_of_memory back to the charge path Message-ID: <20180620193836.GB4734@cmpxchg.org> References: <20180620103736.13880-1-mhocko@kernel.org> <20180620151812.GA2441@cmpxchg.org> <20180620153148.GO13685@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180620153148.GO13685@dhcp22.suse.cz> 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 Wed, Jun 20, 2018 at 05:31:48PM +0200, Michal Hocko wrote: > * Please note that mem_cgroup_oom_synchronize might fail to find a > * victim and then we have rely on mem_cgroup_oom_synchronize otherwise > * we would fall back to the global oom killer in pagefault_out_of_memory I can't quite figure out what this paragraph is trying to say. "oom_synchronize might fail [...] and we have to rely on oom_synchronize". Hm?