[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20171002205552.3ygveyd7yrcvkz7u@dhcp22.suse.cz>
Date: Mon, 2 Oct 2017 22:55:52 +0200
From: Michal Hocko <mhocko@...nel.org>
To: Shakeel Butt <shakeelb@...gle.com>
Cc: Tim Hockin <thockin@...kin.org>, Roman Gushchin <guro@...com>,
Johannes Weiner <hannes@...xchg.org>,
Tejun Heo <tj@...nel.org>, kernel-team@...com,
David Rientjes <rientjes@...gle.com>,
Linux MM <linux-mm@...ck.org>,
Vladimir Davydov <vdavydov.dev@...il.com>,
Tetsuo Handa <penguin-kernel@...ove.sakura.ne.jp>,
Andrew Morton <akpm@...ux-foundation.org>,
Cgroups <cgroups@...r.kernel.org>, linux-doc@...r.kernel.org,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [v8 0/4] cgroup-aware OOM killer
On Mon 02-10-17 13:24:25, Shakeel Butt wrote:
> On Mon, Oct 2, 2017 at 12:56 PM, Michal Hocko <mhocko@...nel.org> wrote:
> > On Mon 02-10-17 12:45:18, Shakeel Butt wrote:
> >> > I am sorry to cut the rest of your proposal because it simply goes over
> >> > the scope of the proposed solution while the usecase you are mentioning
> >> > is still possible. If we want to compare intermediate nodes (which seems
> >> > to be the case) then we can always provide a knob to opt-in - be it your
> >> > oom_gang or others.
> >>
> >> In the Roman's proposed solution we can already force the comparison
> >> of intermediate nodes using 'oom_group', I am just requesting to
> >> separate the killall semantics from it.
> >
> > oom_group _is_ about killall semantic. And comparing killable entities
> > is just a natural thing to do. So I am not sure what you mean
> >
>
> I am saying decouple the notion of comparable entities and killable entities.
There is no strong (bijection) relation there. Right now killable
entities are comparable (which I hope we agree is the right thing to do)
but nothing really prevents even non-killable entities to be compared in
the future.
--
Michal Hocko
SUSE Labs
Powered by blists - more mailing lists