Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1803834imm; Thu, 2 Aug 2018 01:01:49 -0700 (PDT) X-Google-Smtp-Source: AAOMgpewpr8A3tLfhOnJwMrK6mT0KMNnjvHnju/7PG/AhqSL1CF0j7vzv1p/3MFV18f2yXOylDvL X-Received: by 2002:a17:902:3a2:: with SMTP id d31-v6mr1444741pld.287.1533196908925; Thu, 02 Aug 2018 01:01:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533196908; cv=none; d=google.com; s=arc-20160816; b=WVM8MLISfRJDU9Kbq5/KyaggFdPMgSbVe3BN+PgoAQ8FQYiZPt3ODZwgmgiOC+VBgS C98qdBIf/g5ns6Fi8agct5lvedNttcmlPTaqjsbfwCNsXokiEkfVJFyG2qzUn0OjgUvC UpltaNcpD76KybNjOpDb99BijJLReZO9ZSl36Sk0KV6gYtQhK47wqoDJIYVZCYGNbQsv cnvloVqx0k37RbpnZavCe810+WtYgbfvHnN9AR4XnQAMGE1JWIojOvT+HGHPpXJhuQRu kiRVhSxSa+hMvY56kA7kula1x6gZ4OWX8Nswd8zNIW7kkJOLZ4H0/kgz806oppk40pqa QUJQ== 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=fRQP0INeOrlkKy47qSQ/fMMDFxqN/TjudDRu2756lFk=; b=AwTkVlVHmWGoJyHNYUcTBnhHrDDiEjGNzvRHRyflVeZFo1zgSxIRYqVYAkcLuQZcO7 AbudnrjFOezB0Iou6QX1KGqyX3zIjtpIcvobFEEIiBkqOS/NpWwDH1oa4bN//B+TWLCv c0CEXbxNH6Qs/sOY8z2b4FzogLf0m4bKccoGYi9jOhJqm0BRUNGH3gYpfHbGbzf+hbZq VtVW016Ys0EraqrcvwZq+E6up5WouCv5NydGuZn6JIkjRBiMrHPhTdkjTDsJn/frZMzm ZJwHaDBcgAQ++Kjo95VyVCtzrkuCTq4MWSc7RoJ0NUkLbNELhkOMwW1SB+rl8HVA/zlM TLzw== 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 e6-v6si1555252pfe.31.2018.08.02.01.01.33; Thu, 02 Aug 2018 01:01:48 -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 S1726862AbeHBJul (ORCPT + 99 others); Thu, 2 Aug 2018 05:50:41 -0400 Received: from mx2.suse.de ([195.135.220.15]:58826 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726307AbeHBJul (ORCPT ); Thu, 2 Aug 2018 05:50:41 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id EB1A7AD26; Thu, 2 Aug 2018 08:00:42 +0000 (UTC) Date: Thu, 2 Aug 2018 10:00:41 +0200 From: Michal Hocko To: David Rientjes Cc: Roman Gushchin , linux-mm@kvack.org, Johannes Weiner , Tetsuo Handa , Tejun Heo , kernel-team@fb.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/3] introduce memory.oom.group Message-ID: <20180802080041.GB10808@dhcp22.suse.cz> References: <20180730180100.25079-1-guro@fb.com> <20180731235135.GA23436@castle.DHCP.thefacebook.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed 01-08-18 14:51:25, David Rientjes wrote: > On Tue, 31 Jul 2018, Roman Gushchin wrote: > > > > What's the plan with the cgroup aware oom killer? It has been sitting in > > > the -mm tree for ages with no clear path to being merged. > > > > It's because your nack, isn't it? > > Everybody else seem to be fine with it. > > > > If they are fine with it, I'm not sure they have tested it :) Killing > entire cgroups needlessly for mempolicy oom kills that will not free > memory on target nodes is the first regression they may notice. I do not remember you would be mentioning this previously. Anyway the older implementation has considered the nodemask in memcg_oom_badness. You are right that a cpuset allocation could needlessly select a memcg with small or no memory from the target nodemask which is something I could have noticed during the review. If only I didn't have to spend all my energy to go through repetitive arguments of yours. Anyway this would be quite trivial to resolve in the same function by checking node_isset(node, current->mems_allowed). Thanks for your productive feedback again. Skipping the rest which is yet again repeating same arguments and it doesn't add anything new to the table. -- Michal Hocko SUSE Labs