Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2147953imu; Thu, 24 Jan 2019 08:00:37 -0800 (PST) X-Google-Smtp-Source: ALg8bN5giAldFAIbcvbgCqA/xAk2z4ZFjFKyXXR8S0GW3hBANzdiyniHr2xZl7DaBe52okDGaGPh X-Received: by 2002:a17:902:27e6:: with SMTP id i35mr6954556plg.222.1548345637136; Thu, 24 Jan 2019 08:00:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548345637; cv=none; d=google.com; s=arc-20160816; b=gIxlnj0bLsi/HQaWfjiL68mdtLorBw9lRRHMu5xQx+Ktt+lPFFP2W+ZvVAswZh7xjD 28Ob6/p8TNm7xIT3WdMbDWKbONViorI0FL0IOfdz9E8zQBudBny8NMP7GLJq7nL/Sq2v CBg+aRra5dY/jaS/lkaZNZqD90cphpl521Ai3ioyJtahN926MIHWZWmcJYNPaphN5j18 0256QaGEFUNEDNYAhlqvJ17XmSzcJdNBFvaL1xFvn0rscp075yI6ifWCgdMtKcPJIflr fRki6/E346cKE0OcgceS9+NJq2TQJTArKba7CBlhOVlPM4sbov/Hqo7HFGfN6Fb0nVAs FHFA== 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; bh=hCxh8cKbdjdveceYE2dpaNIbo3dOi85oEdfOpSI1M70=; b=O4N5Vn9Tg2PQgFarxjRbeDp1ey/uJG52i9Gl0MLLICFbpcyb/NLQ12bgRIAkdOT4ke 5NtIJ53JSRQuspyJxX9rbsLUU6Uqw6BF6CFQhdMgWC177sPY7lFR9qZpE2vjSR0tVcau kBktzabOQDnuZUn3I+LriaFzoNf0qhAGK/j0eVBthZB31bzGB3JypKvipPQVAUAhPdOv T8BF6fzo9sV8vDu3dpvASArfgDxn/k/49sJKoHRyZ3Qe3zEsflrUm9C0SCx8PtDaLk/k /B9sJveRrQ99EI44FPhDS6ZX8UPXx2DEV4wiWVOE1V1ZHj7mHaKZJKJo+opHXvX9hYpN 56qw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cmpxchg-org.20150623.gappssmtp.com header.s=20150623 header.b=aOZLgnWF; 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 a35si14265459pla.226.2019.01.24.08.00.20; Thu, 24 Jan 2019 08:00:37 -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; dkim=pass header.i=@cmpxchg-org.20150623.gappssmtp.com header.s=20150623 header.b=aOZLgnWF; 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 S1728587AbfAXQAN (ORCPT + 99 others); Thu, 24 Jan 2019 11:00:13 -0500 Received: from mail-yw1-f66.google.com ([209.85.161.66]:35496 "EHLO mail-yw1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727848AbfAXQAM (ORCPT ); Thu, 24 Jan 2019 11:00:12 -0500 Received: by mail-yw1-f66.google.com with SMTP id h32so2619459ywk.2 for ; Thu, 24 Jan 2019 08:00:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cmpxchg-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=hCxh8cKbdjdveceYE2dpaNIbo3dOi85oEdfOpSI1M70=; b=aOZLgnWFCiEp/DgAqJ0ZNWqNTjzcc5vJt9MAo9H/VK+bDPLL728DCs/dQTYumayW9b hwEBKayaUcXB/Sm2wVblmZUXpmcYCgw5srU72fEnOiwv6GvjLFt7QQLCA15lf/iLKQTe I2LZ9iXuNZVAc9x6w0w1nXX6r3sUSWtCQcX4vldjXpJSKymA1bOwkAdtqaA3BVwhK1pi 6XP/Xvmi4a2Fkd60WeR1k85nxSzSrbRmyv8/HOAf2fs9EJyFHmoNqroNwCqPIdMxMz4e dNaWR2UqiCiGbVN1MaIK7kUOEqQUqWZbXjT6WX1XVcLMZ5aPHFeN5L19jQqp84gLGZ8p iglw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=hCxh8cKbdjdveceYE2dpaNIbo3dOi85oEdfOpSI1M70=; b=YcmoaulMETt6dSboOQxzWA0CdLRcfyISbm8O/XDZ5EC9/mssh/rqbo+jn5qWfP0+pA TnHip3yCeoYKjY/9ue3Iclt7c2qjkXvkbIovSeMWg2w2sFBYP9+uXdI6fybSzQmL9+Gv DJFLl89dRaEwAamgfevjGFl6ArF62xBc5xCSdTmxWKr/t1i1trIyf3z+484Cz+Kcwszm GJgbQC6c081hxW8XZ3A0o521f3pGK3acZl9SKUSaOevaFqnQD9rJBC9Fcfe/USaKEWvM 936wv99KgteDVx8wOv7xE7MhkRMX3wKGYlieYFMRZCL+WFszlMGMTA2Ad9nqkYR8HzSw twLQ== X-Gm-Message-State: AJcUukfvH4DdFtkJTCvqrR6KCdlwm+gIQ5NFqKr4RGnCPXqFXnfQTGuI /AYYKJTdPwxeEN1gner3edjVdA== X-Received: by 2002:a0d:df87:: with SMTP id i129mr6886876ywe.474.1548345611594; Thu, 24 Jan 2019 08:00:11 -0800 (PST) Received: from localhost ([2620:10d:c091:200::5:9b5d]) by smtp.gmail.com with ESMTPSA id w2sm13081675ywl.10.2019.01.24.08.00.10 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 24 Jan 2019 08:00:10 -0800 (PST) Date: Thu, 24 Jan 2019 11:00:10 -0500 From: Johannes Weiner To: Michal Hocko Cc: Chris Down , Andrew Morton , Tejun Heo , Roman Gushchin , Dennis Zhou , linux-kernel@vger.kernel.org, cgroups@vger.kernel.org, linux-mm@kvack.org, kernel-team@fb.com Subject: Re: [PATCH 2/2] mm: Consider subtrees in memory.events Message-ID: <20190124160009.GA12436@cmpxchg.org> References: <20190123223144.GA10798@chrisdown.name> <20190124082252.GD4087@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190124082252.GD4087@dhcp22.suse.cz> User-Agent: Mutt/1.11.2 (2019-01-07) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 24, 2019 at 09:22:52AM +0100, Michal Hocko wrote: > On Wed 23-01-19 17:31:44, Chris Down wrote: > > Acked-by: Johannes Weiner > > btw. I do not see this patch posted anywhere yet it already comes with > an ack. Have I just missed a previous version? I reviewed it offline before Chris sent it out. I agree with the sentiment that the non-hierarchical behavior was an oversight, not a design decision. The arguments against the change don't convince me: the added difficulty of finding out local values is true for all other cgroup files as well. This is traded off with being able to detect any subtree state from the first level cgroups and drill down on-demand, without having to scan the entire tree on each monitoring interval. That's a trade-off we've made everywhere else, so this is simply an inconsistency, not a legitimate exception to the rule. We cannot fully eliminate a risk for regression, but it strikes me as highly unlikely, given the extremely young age of cgroup2-based system management and surrounding tooling. Acked-by: Johannes Weiner