Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp6242097imu; Wed, 30 Jan 2019 11:12:53 -0800 (PST) X-Google-Smtp-Source: ALg8bN4iCH10ckld6/48X5ykn+13c6PRCTK+MwPkaSUqbQbcGoaSvD2SRXBS4/qD+HgcUwEqfiQD X-Received: by 2002:a63:2c0e:: with SMTP id s14mr29159453pgs.132.1548875573258; Wed, 30 Jan 2019 11:12:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548875573; cv=none; d=google.com; s=arc-20160816; b=mGsJzNokBypKfDnnAAbjXhLigEr0QKElAQJu+opiUBXyTjOSU1mEJb0o93Qf3uvAM1 JHE745NDZkdp5WiVEhe5Zs5XZc6Z7EKutAtQYGktff0ae/DagRcTVe57kKL8H08730Kt qqgy4dFDEekeEsVHyfOTWWu+pR5/6XNVnCCoi9Xvoh0LM7VreRDfK/G9CHSpRpjnuQR6 U9MyF+5nCaUdbGaUc/HUaSwaeyrxz26sPWpUJNu6lAL4ZPof1G/fCPGacj7H8ORa03iB sXxdZ83LIRR1HoITYTwUQCbY0BSR6rj0rrnOszgsp604OxTc6ToEULM6ape9uWu9q+3n xLAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=M4j223sTiX4eMGkNGmN1WWkhqrWqcQOSV+aX1N0vGfU=; b=cC5wtIX54046wmrhXNJQr6bpMar+qgW8OTLipvXtRAlXHVeK2K9VjCIJZsExa96p5J VhZmfyOCnNjyF4s5cMNLRSv7mAomWOBYxpHauhKZT5c56ghZwKrzajYCMHuyJwVbxeLZ Ebg2RgzrXYHnJuRS1DRfTQH7RkLLMiNitsim6E/8r61vGzGX/iTFu/zj/STI5NOeUNeE w9baPHGSzhYzr1aykNy5xfLEOR2/pcWS6XxKNOnmiZniBMPk8KRo+jlx+/jRLhDvtYuo JzddJbfVYRMMpcUvmeFa/hcaoo57tYWS6dqliKP9TaIGh75/7W1ELilXDIneV1jFTlXh wr0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=azkJLUZ8; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t6si2123705pgn.258.2019.01.30.11.12.37; Wed, 30 Jan 2019 11:12:53 -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=@google.com header.s=20161025 header.b=azkJLUZ8; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387529AbfA3TL5 (ORCPT + 99 others); Wed, 30 Jan 2019 14:11:57 -0500 Received: from mail-yb1-f193.google.com ([209.85.219.193]:46499 "EHLO mail-yb1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727114AbfA3TL5 (ORCPT ); Wed, 30 Jan 2019 14:11:57 -0500 Received: by mail-yb1-f193.google.com with SMTP id 7so245810ybp.13 for ; Wed, 30 Jan 2019 11:11:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=M4j223sTiX4eMGkNGmN1WWkhqrWqcQOSV+aX1N0vGfU=; b=azkJLUZ8/StL/5E53v70C5unuQk4f6Ciqs5ZgN9hYqf0WgprVCpGmJfw35DSNFFigH JVmOK/jHtzt8P/JqqIEwed/TX1ZFf0ud6XffSASmHI6C8ghY79KgnZYb6Isd5RNkClua FQaIW69ilbPoeutkgd0gm95mrYy1COvWQrd88dpMGnxQ/PkebF5X5yUvjgS2yoSNBlUN OM0upjn5ctZEGvNWDVcPkYrC2dDtFHVzqK69UsO8y+FvOF106czYSuDNEtf1vGESZlVM koBSwBSPYR2tcLjlCvJxtcRP7SRjAYCkyAf0Ruy8coYoG1kClerdGq0mQntTghNaeEoZ /Hsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=M4j223sTiX4eMGkNGmN1WWkhqrWqcQOSV+aX1N0vGfU=; b=WJKX6/c2JhxXXOEHIBRyILcJqOFdFGqv1d4rY4WOwGp3lJdnQ+QTmXuYt43qvUW186 50seVVKogwP5X3GSRHAwGPsaLiej9ywx2cG0GE/LzrywgIaAv9KH35Vbk+kMN1/CEuRi NNMZwclq++hWtc/QDRCFuIkx0FQKCnhoaPaAwNIC0njOWeQTue4s5cRFE/5HbXdddT9t WEhixBvexgdhhKl4q0ZYolXWWp2isZUuGoYfIr9vVQTm24pqQqBePiMJ+NvHy9LvDTwh DRgBx8fgRzF2B50n3glEVFN1UeP02LhpUHbQdMQDTCmwH+fc4UOG2EeHg+BKePt56vlw BZNw== X-Gm-Message-State: AJcUukcuWPtOpBujwhLcdsLO5wfXVrm1nV71Upy86ZhNAr+PR2hTlcBk GadGy2kEdIKu1sGiXFlvgC/mMV38lA4CTcGHBXq47g== X-Received: by 2002:a25:6f8b:: with SMTP id k133mr29606576ybc.496.1548875515746; Wed, 30 Jan 2019 11:11:55 -0800 (PST) MIME-Version: 1.0 References: <20190128142816.GM50184@devbig004.ftw2.facebook.com> <20190128145210.GM18811@dhcp22.suse.cz> <20190128145407.GP50184@devbig004.ftw2.facebook.com> <20190128151859.GO18811@dhcp22.suse.cz> <20190128154150.GQ50184@devbig004.ftw2.facebook.com> <20190128170526.GQ18811@dhcp22.suse.cz> <20190128174905.GU50184@devbig004.ftw2.facebook.com> <20190129144306.GO18811@dhcp22.suse.cz> <20190129145240.GX50184@devbig004.ftw2.facebook.com> <20190130165058.GA18811@dhcp22.suse.cz> <20190130170658.GY50184@devbig004.ftw2.facebook.com> In-Reply-To: <20190130170658.GY50184@devbig004.ftw2.facebook.com> From: Shakeel Butt Date: Wed, 30 Jan 2019 11:11:44 -0800 Message-ID: Subject: Re: [PATCH 2/2] mm: Consider subtrees in memory.events To: Tejun Heo Cc: Michal Hocko , Johannes Weiner , Chris Down , Andrew Morton , Roman Gushchin , Dennis Zhou , LKML , Cgroups , Linux MM , kernel-team@fb.com Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Tejun, On Wed, Jan 30, 2019 at 9:07 AM Tejun Heo wrote: > > Hello, Michal. > > On Wed, Jan 30, 2019 at 05:50:58PM +0100, Michal Hocko wrote: > > > Yeah, cgroup.events and .stat files as some of the local stats would > > > be useful too, so if we don't flip memory.events we'll end up with sth > > > like cgroup.events.local, memory.events.tree and memory.stats.local, > > > which is gonna be hilarious. > > > > Why cannot we simply have memory.events_tree and be done with it? Sure > > the file names are not goin to be consistent which is a minus but that > > ship has already sailed some time ago. > > Because the overall cost of shitty interface will be way higher in the > longer term. cgroup2 interface is far from perfect but is way better > than cgroup1 especially for the memory controller. Why do you think > that is? > I thought you are fine with the separate interface for the hierarchical events. https://lkml.kernel.org/r/20190128161201.GS50184@devbig004.ftw2.facebook.com Is that not the case? Shakeel