Received: by 10.223.176.46 with SMTP id f43csp1810671wra; Thu, 25 Jan 2018 00:06:30 -0800 (PST) X-Google-Smtp-Source: AH8x226rtCISt+CHlYre3eFACS0SismHRlsC3FkuXEaMaNv8FFnuOhM37nsvzcOXBL1ye9enEl+H X-Received: by 2002:a17:902:9343:: with SMTP id g3-v6mr10775271plp.319.1516867590191; Thu, 25 Jan 2018 00:06:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516867590; cv=none; d=google.com; s=arc-20160816; b=J0DDO46eJhAXzGFjgZL4GvYyG2cTFBT0zPYpnF3BMaMmZeXIHKk3Erc8+0aJqwykEy U0qW5bN1ImQg2Fk8J4k2OSbQW7LDMalhCbZNKF8UgbW6AB+k6r/NqaQC4Dirka61z0eF TtHeN84iPpSxanRmog3Le8CtyZhRgkV8j7Tl61HLpAOingMnPwVmuLc1MnNlCnrV3x9e /X5hPoCfbyOSee/QxLe7Pus7UQOer6h1VtclP0IEUy0HNuSgqwYSp1uNCziunEJppPDz mAbtKyyuQ11MzQkO6FvlzEJcBmZdOaCGkHn9s0Om44f4ytWGFvfd1Q/lC8n5m7p6Mky3 y0DA== 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=PFIcMmawFfEM8dTV7ytEMqxurNr31v9TZhueONKOZlk=; b=VM6wkzWnk9757hgEHiyGuMT9WfqG5NGB6b8HEe6UghEHBtk+uq/SAghvZDQ5l3Wlme Xb5nFz/nmgcOfS5eQt4a3gCOqb5O3O35H+YnENIUlJ6/wxYeBg0Q+QOI+9mN7c+0ssmS hUMJ3aeD/8JehYFVk8CrM98UAilOjuXo2mtxTY3SmgqhFIJmnQu/EanI672f8k5xilR7 pKUwi9MujtkrCW2CEeGPXraQ2cAvy2i8gihRi3ShVZ3Hz9pmk6ukO8dqJwoKlye8gl8n je9be6SSVNd6T0Durn9z/qV64z5hDe2yJVqgIHgIZ66AFRxWVcJSzBKYohaG8BAZyZOX JtYQ== 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 l71si1248660pgd.305.2018.01.25.00.06.15; Thu, 25 Jan 2018 00:06:30 -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 S1751287AbeAYIFu (ORCPT + 99 others); Thu, 25 Jan 2018 03:05:50 -0500 Received: from mx2.suse.de ([195.135.220.15]:47561 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751105AbeAYIFt (ORCPT ); Thu, 25 Jan 2018 03:05:49 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 6B686AD2D; Thu, 25 Jan 2018 08:05:46 +0000 (UTC) Date: Thu, 25 Jan 2018 09:05:42 +0100 From: Michal Hocko To: David Rientjes Cc: Tejun Heo , Andrew Morton , 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: <20180125080542.GK28465@dhcp22.suse.cz> References: <20180117154155.GU3460072@devbig577.frc2.facebook.com> <20180120123251.GB1096857@devbig577.frc2.facebook.com> <20180123155301.GS1526@dhcp22.suse.cz> <20180124082041.GD1526@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed 24-01-18 13:44:02, 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. > > > > 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. It is not about convenince. Those two things are simply orthogonal. And that's what I've been saying for quite some time. Dunno, why it has been ignored previously. > 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? Yes, and I have provided it already. What you are proposing is incomplete at best and needs much better consideration and much more time to settle. > 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. I will not oppose but as it has been mentioned several times, this is by no means a blocker issue. It can be added on top. Thanks! -- Michal Hocko SUSE Labs