Messages in this thread | | | Date | Mon, 2 Oct 2017 22:55:52 +0200 | From | Michal Hocko <> | 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@kernel.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
| |