Received: by 10.223.176.46 with SMTP id f43csp1299371wra; Wed, 24 Jan 2018 14:09:21 -0800 (PST) X-Google-Smtp-Source: AH8x225Rd3+RFkp95pHRER33oBBT0Xoj7qM1Mnbi2ewDnNOqHluQ2LeXUhVxy4JUolFwf6SEGc5C X-Received: by 10.98.30.1 with SMTP id e1mr14259968pfe.37.1516831761611; Wed, 24 Jan 2018 14:09:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516831761; cv=none; d=google.com; s=arc-20160816; b=uiYYvfsfXIhHfeoMcyuBLH4t+jWYH6K56ynoAPJ+Ces8FBFSvGQ3p1xDdH3I12aB+s EpJJr+xWyOmX+7e+Zzm+uVf02lRcJ5KPGX9cXrfhklsXkUn9IPEP6wUNYdKfeeTODQcf ZnVsmKH/YCE3H36FxG8IQVwD0PuwozlwzYQXf8ks6RkgxG3M6zwdByYDC3vbw+LlZU19 mu8d2Vc75DdRt17AArtQ+V5CFYEPjdGNNz2EixS/KG57iYEla/cBOsX9Z9rhimbyhR9a KZw6MPmvgGZKrV3Xsz4NL3Nai06WAQNwc3m+rgBH4mrEwSB0som/LMejFJ2c9ZW3Exyt H9wQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :arc-authentication-results; bh=/XdSRs05oPICOrho0TPbEPS7vO04vH+d3xCxwo5UJRE=; b=O00jQLSMQdf88JIy/mAK/1Ll7qjBGIG9OYmYPyea3eissNP1cYfgVa+57fbN69ef3p 0uGG6aJ9XRMb1k7DxwVupkPSfqflsEp/Y7LwAgIlxUx7OSj31IFWI5ufmcwqbwaBn6w6 tNdIuhETQV2hzehnjD6lQO5RV4UlhfWjABkR+NGcEhnUZDUUZ95X2bQk7f08poKBzU4h 28Ge8XNlvqpdkd1jH/KotgP/mOiHkViqR8U+BkLkbaeviaT+blPzA5qjAAIx1fTfxNmT C/YDvw62nYM8F+6o5YjdeyenwgzW4t29RvQhuz2FR40UAT6LXueXAYAYf7s0M+MFMpT2 rgYQ== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s6si642692pgr.221.2018.01.24.14.09.07; Wed, 24 Jan 2018 14:09:21 -0800 (PST) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932886AbeAXWIJ (ORCPT + 99 others); Wed, 24 Jan 2018 17:08:09 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:47408 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932294AbeAXWIG (ORCPT ); Wed, 24 Jan 2018 17:08:06 -0500 Received: from akpm3.svl.corp.google.com (unknown [104.133.9.92]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 0F5C81156; Wed, 24 Jan 2018 22:08:06 +0000 (UTC) Date: Wed, 24 Jan 2018 14:08:05 -0800 From: Andrew Morton To: David Rientjes Cc: Michal Hocko , Tejun Heo , Roman Gushchin , Vladimir Davydov , Johannes Weiner , Tetsuo Handa , kernel-team@fb.com, cgroups@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [patch -mm 3/4] mm, memcg: replace memory.oom_group with policy tunable Message-Id: <20180124140805.b4eb437c6fe9dadb67a32e8a@linux-foundation.org> In-Reply-To: References: <20180117154155.GU3460072@devbig577.frc2.facebook.com> <20180120123251.GB1096857@devbig577.frc2.facebook.com> <20180123155301.GS1526@dhcp22.suse.cz> <20180124082041.GD1526@dhcp22.suse.cz> X-Mailer: Sylpheed 3.4.1 (GTK+ 2.24.23; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 24 Jan 2018 13:44:02 -0800 (PST) David Rientjes wrote: > On Wed, 24 Jan 2018, Michal Hocko wrote: > > > > The current implementation of memory.oom_group is based on top of a > > > selection implementation that is broken in three ways I have listed for > > > months: > > > > This doesn't lead to anywhere. You are not presenting any new arguments > > and you are ignoring feedback you have received so far. We have tried > > really hard. Considering different _independent_ people presented more or > > less consistent view on these points I think you should deeply > > reconsider how you take that feedback. > > Please let's remember that people/process issues are unrelated to the technical desirability of a proposed change. IOW, assertions along the lines of "person X is being unreasonable" do little to affect a merge decision. > I've responded to each email providing useful feedback on this patchset. > I agreed with Tejun about not embedding the oom mechanism into > memory.oom_policy. I was trying to avoid having two files in the mem > cgroup v2 filesystem for oom policy and mechanism. I agreed that > delegating the mechanism to the workload would be useful in some cases. > I've solicited feedback on any other opinions on how that can be done > better, but it appears another tunable is the most convenient way of > allowing this behavior to be specified. > > As a result, this would remove patch 3/4 from the series. Do you have any > other feedback regarding the remainder of this patch series before I > rebase it? > > I will address the unfair root mem cgroup vs leaf mem cgroup comparison in > a separate patchset to fix an issue where any user of oom_score_adj on a > system that is not fully containerized gets very unusual, unexpected, and > undocumented results. > Can we please try to narrow the scope of this issue by concentrating on the userspace interfaces? David believes that the mount option and memory.oom_group will disappear again in the near future, others disagree. What do we do about that? For example, would it really be a big problem to continue to support those interfaces in a future iteration of this feature? Or is it possible to omit them from this version of the feature? Or is it possible to modify them in some fashion so they will be better compatible with a future iteration of this feature? I'm OK with merging a probably-partial feature, expecting it to be enhanced in the future. What I have a problem with is merging user interfaces which will be removed or altered in the future. Please solve this problem for me.