[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHCio2g-S6snHsh84r0Wp1RQW1CR3t_eyUUjcdDaxnUHWTcdFw@mail.gmail.com>
Date: Tue, 19 Feb 2019 18:45:52 +0800
From: 禹舟键 <ufo19890607@...il.com>
To: Tejun Heo <tj@...nel.org>
Cc: Yang Shi <yang.shi@...ux.alibaba.com>, hannes@...xchg.org,
corbet@....net, cgroups@...r.kernel.org, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] doc: cgroup: correct the wrong information about measure
of memory pressure
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@...on /]# uname -r
[root@...on /]# 5.0.0-rc6+
[root@...on /]# mount -t cgroup2 none cgroup2/
[root@...on /]# cat cgroup2/cgroup.controllers
[root@...on /]
[root@...on /]# cat cgroup2/cgroup.subtree_control
[root@...on /]#
What's wrong with this kernel? Or maybe I lost some mount option?
Thanks
Yuzhoujian
Tejun Heo <tj@...nel.org> 于2019年2月19日周二 上午10:32写道:
>
> 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 <tj@...nel.org>
> > Cc: Johannes Weiner <hannes@...xchg.org>
> > Cc: Jonathan Corbet <corbet@....net>
> > Signed-off-by: Yang Shi <yang.shi@...ux.alibaba.com>
> > ---
> > 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/admin-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 but 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
Powered by blists - more mailing lists