Re: [v8 0/4] cgroup-aware OOM killer

From: Michal Hocko
Date: Mon Oct 02 2017 - 16:09:20 EST


On Mon 02-10-17 13:00:54, Tim Hockin wrote:
> In the example above:
>
> root
> / \
> A D
> / \
> B C
>
> Does oom_group allow me to express "compare A and D; if A is chosen
> compare B and C; kill the loser" ? As I understand the proposal (from
> reading thread, not patch) it does not.

No it doesn't. It allows you to kill A (recursively) as the largest
memory consumer. So, no, it cannot be used for prioritization, but again
this is not yet the scope of the proposed solution.
--
Michal Hocko
SUSE Labs