[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <MN2PR02MB63033A5D2EE11A0D7DFEBE95E9DA0@MN2PR02MB6303.namprd02.prod.outlook.com>
Date: Tue, 14 Apr 2020 16:08:39 +0000
From: Ivan Teterevkov <ivan.teterevkov@...anix.com>
To: Michal Hocko <mhocko@...nel.org>
CC: "rientjes@...gle.com" <rientjes@...gle.com>,
"willy@...radead.org" <willy@...radead.org>,
"vbabka@...e.cz" <vbabka@...e.cz>, "tj@...nel.org" <tj@...nel.org>,
"lizefan@...wei.com" <lizefan@...wei.com>,
"hannes@...xchg.org" <hannes@...xchg.org>,
"corbet@....net" <corbet@....net>,
"vdavydov.dev@...il.com" <vdavydov.dev@...il.com>,
"akpm@...ux-foundation.org" <akpm@...ux-foundation.org>,
"guro@...com" <guro@...com>,
"shakeelb@...gle.com" <shakeelb@...gle.com>,
"chris@...isdown.name" <chris@...isdown.name>,
"yang.shi@...ux.alibaba.com" <yang.shi@...ux.alibaba.com>,
"tglx@...utronix.de" <tglx@...utronix.de>,
"minchan@...nel.org" <minchan@...nel.org>,
"ying.huang@...el.com" <ying.huang@...el.com>,
"ziqian.lzq@...fin.com" <ziqian.lzq@...fin.com>,
"cgroups@...r.kernel.org" <cgroups@...r.kernel.org>,
"linux-doc@...r.kernel.org" <linux-doc@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-mm@...ck.org" <linux-mm@...ck.org>,
Jonathan Davies <jond@...anix.com>
Subject: RE: [RFC] memcg: fix default behaviour of non-overridden
memcg.swappiness
On Fri, 20 Mar 2020, Michal Hocko wrote:
> On Thu 19-03-20 17:38:30, Ivan Teterevkov wrote:
> > Also, shall this magic -1 be exposed to the user? I think it's a "no",
> > but what if the user wants to un-override the memcg.swappiness...
>
> If we are to use such a semantic then it absolutely has to be an opt-in behavior
> and expressed in some way to the user space (e.g. a symbolic name referring to
> the global setting).
A symbolic link would be a good approach but...
> I am not convinced we need it.
... agree and not going any further with the suggestion.
Support of the sysctl parameters in the kernel command line is a
better solution and would address my initially raised concern to
tackle the configuration parameters.
Thanks
Ivan
Powered by blists - more mailing lists