Re: [v8 0/4] cgroup-aware OOM killer
From: Michal Hocko <mhocko@kernel.org>
Date: 2017-10-02 20:55:59
Also in:
linux-mm, lkml
From: Michal Hocko <mhocko@kernel.org>
Date: 2017-10-02 20:55:59
Also in:
linux-mm, lkml
On Mon 02-10-17 13:24:25, Shakeel Butt wrote:
On Mon, Oct 2, 2017 at 12:56 PM, Michal Hocko [off-list ref] wrote:quoted
On Mon 02-10-17 12:45:18, Shakeel Butt wrote:quoted
quoted
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 meanI 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