Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp3394520imj; Tue, 19 Feb 2019 02:47:00 -0800 (PST) X-Google-Smtp-Source: AHgI3IYjR4JRiT32Bw+ym0w07J4WNX8+pHQlqjmu8oEnpdxzwIU41JspQc6GPqm90XPzVNy8dGZX X-Received: by 2002:a17:902:8a91:: with SMTP id p17mr30394331plo.316.1550573220173; Tue, 19 Feb 2019 02:47:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550573220; cv=none; d=google.com; s=arc-20160816; b=tVdLGKZTALO6vWw/OVp9jXzYp7YCmHImeMgSSputakXDlREBx7nVmwX89UhydynWER QMy7rBY1Pm4YM6xkllCvmGL60q2Uy3Bvjc8bGVMXIw7F26ISTndZfOv63WcCzZno/vBA y8eCr6uBRTL/11d1k5shC1+KycmsVuB4mYcWNlL2bPNUtrzEI1F3Awz1Nlyl4WPA9Ium 8autYghdCo5KV/6MW1R4u2t3A17L0XSu7jbvhTqoSfYhNLXvJouDDUeQyGtEfbXf3JiQ eqrgitB1ziP6LMJFqdXIu6ICB33uMUVX2sJA5BxyKN0BYO8cCpcX9BTap91kmhft1QI9 DBwQ== 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:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=ffG50zcYRZxWfUGn5WkhVM3jBYqv2vEwRvPWaUtideQ=; b=xgIXVa+Z8xPQ4aUpjq10rqDBjcCBmHPDyPYPJlyKIOKLotqknaH35lfjZTwKNZO/CG m9xLdgCXaEu98vJBLGeF44WfZ02qf8AlNz2lYQjLcIqPibPVSLIV5iry9eJUhklOBuJQ fYivHJlF2YQ0mcR7YOhwU/XqZ/TX1wyzsi7cSOCgDPW9tbmdKCBE1pMLjtLsRdxKTccG h+z8/cF0jKrG+ZdPJqtQdiMTEXlHWSiEykf+npUxHBrMzTkKk3eesosjC0HtXTPiSIhE ao5+ff4BlGH6IVxp3BMhwv0Sn4vlsepDIe06hqGFWxzGUUgLb4SgzF39Ylo/oNLkdK0A pqeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=YpoYatti; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o73si15234600pfa.137.2019.02.19.02.46.44; Tue, 19 Feb 2019 02:47:00 -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=@gmail.com header.s=20161025 header.b=YpoYatti; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728318AbfBSKqG (ORCPT + 99 others); Tue, 19 Feb 2019 05:46:06 -0500 Received: from mail-lj1-f193.google.com ([209.85.208.193]:34276 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726289AbfBSKqG (ORCPT ); Tue, 19 Feb 2019 05:46:06 -0500 Received: by mail-lj1-f193.google.com with SMTP id l5so13587721lje.1; Tue, 19 Feb 2019 02:46:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=ffG50zcYRZxWfUGn5WkhVM3jBYqv2vEwRvPWaUtideQ=; b=YpoYattijyPWHezIgZMKDwdjebSn69PKDuhJxtXkwpjt/p8HH2X1x+3YGadInP2Dx1 rGlMK8oPorD/BJVjvzjPYOn/gp6hSvmVGAZ956FJHnKdzavF59LNoVdN9YDgc/JBqRM/ DMoBFHlW/537VF0CeNabpK9+6W2AJ8K4ziSdeZh7zDDz34Oj9HlH7hYsMJzwv5j8UTKF /3gTZkXUKflREJJyEeTWV2M6GWGI/Tu8iuRyL3QeSNPeVcOHvR0lDn28auo4wrHXAkc4 BFFliD+xepgc6tV+e4S7WKF07D5iNbCZwn3KyN38V83wZKBoOPwgJ6KE42M8l09V7GU2 d6Pg== 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:content-transfer-encoding; bh=ffG50zcYRZxWfUGn5WkhVM3jBYqv2vEwRvPWaUtideQ=; b=V9MnG7zJAQurpsG9aDtchMJizJxgPCwmlwjOd0I84BLRIUskuvKoUXQKXsK1Dcr3do r7goplhc9DuHezE/uX3/vyJUHXnJetLaiCJdTJHlEllWdYy4N4rix6dP9nyCx93YM+1C kEUdkG1Vye2nJxsxJPWIXxfWHEEEVdfr6Jebv8pvdMLNSJEj7FexUk5YyLatTRLmvBAL q6ejF8Q5kPqNPCcE4yKYJhCee7G/T93UOWlui2xVGC+RxOfNxnSpmdYdLEC18TV7Ma0K YV5peovPZA5mL+y1umBY3kOyOkM1i/KShxUEiBykqddaFz6hiHVcjP4kkFqOyFp6T7oa aYIQ== X-Gm-Message-State: AHQUAubxEVqmRmbSuIztj+UVsYacutIWbTKZutfPff2fuIoqNt8uZiiQ gDHecMfBYE0wLaZCk4chnAzj8ifdOTtpDLP5HrlPK8HdyOA= X-Received: by 2002:a2e:965a:: with SMTP id z26mr15089257ljh.59.1550573163554; Tue, 19 Feb 2019 02:46:03 -0800 (PST) MIME-Version: 1.0 References: <1550278564-81540-1-git-send-email-yang.shi@linux.alibaba.com> <20190218210504.GT50184@devbig004.ftw2.facebook.com> In-Reply-To: <20190218210504.GT50184@devbig004.ftw2.facebook.com> From: =?UTF-8?B?56a56Iif6ZSu?= Date: Tue, 19 Feb 2019 18:45:52 +0800 Message-ID: Subject: Re: [PATCH] doc: cgroup: correct the wrong information about measure of memory pressure To: Tejun Heo Cc: Yang Shi , hannes@cmpxchg.org, corbet@lwn.net, cgroups@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi TeJun I've built the 5.0.0-rc6 kernel with psi option, but I cannot find any cgroup.controllers when I mounted cgroup2. [root@bogon /]# uname -r [root@bogon /]# 5.0.0-rc6+ [root@bogon /]# mount -t cgroup2 none cgroup2/ [root@bogon /]# cat cgroup2/cgroup.controllers [root@bogon /] [root@bogon /]# cat cgroup2/cgroup.subtree_control [root@bogon /]# What's wrong with this kernel? Or maybe I lost some mount option? Thanks Yuzhoujian Tejun Heo =E4=BA=8E2019=E5=B9=B42=E6=9C=8819=E6=97=A5=E5=91= =A8=E4=BA=8C =E4=B8=8A=E5=8D=8810:32=E5=86=99=E9=81=93=EF=BC=9A > > On Sat, Feb 16, 2019 at 08:56:04AM +0800, Yang Shi wrote: > > Since PSI has implemented some kind of measure of memory pressure, the > > statement about lack of such measure is not true anymore. > > > > Cc: Tejun Heo > > Cc: Johannes Weiner > > Cc: Jonathan Corbet > > Signed-off-by: Yang Shi > > --- > > Documentation/admin-guide/cgroup-v2.rst | 3 +-- > > 1 file changed, 1 insertion(+), 2 deletions(-) > > > > diff --git a/Documentation/admin-guide/cgroup-v2.rst b/Documentation/ad= min-guide/cgroup-v2.rst > > index 7bf3f12..9a92013 100644 > > --- a/Documentation/admin-guide/cgroup-v2.rst > > +++ b/Documentation/admin-guide/cgroup-v2.rst > > @@ -1310,8 +1310,7 @@ network to a file can use all available memory bu= t can also operate as > > performant with a small amount of memory. A measure of memory > > pressure - how much the workload is being impacted due to lack of > > memory - is necessary to determine whether a workload needs more > > -memory; unfortunately, memory pressure monitoring mechanism isn't > > -implemented yet. > > +memory. > > Maybe refer to PSI? > > Thanks. > > -- > tejun