From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751721AbdJBUJC (ORCPT ); Mon, 2 Oct 2017 16:09:02 -0400 Received: from mx2.suse.de ([195.135.220.15]:48632 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751536AbdJBUI7 (ORCPT ); Mon, 2 Oct 2017 16:08:59 -0400 Date: Mon, 2 Oct 2017 22:08:55 +0200 From: Michal Hocko To: Tim Hockin Cc: Shakeel Butt , Roman Gushchin , Johannes Weiner , Tejun Heo , kernel-team@fb.com, David Rientjes , Linux MM , Vladimir Davydov , Tetsuo Handa , Andrew Morton , Cgroups , linux-doc@vger.kernel.org, "linux-kernel@vger.kernel.org" Subject: Re: [v8 0/4] cgroup-aware OOM killer Message-ID: <20171002200855.jh7eulykm27tomdt@dhcp22.suse.cz> References: <20170927162300.GA5623@castle.DHCP.thefacebook.com> <20171002122434.llbaarb6yw3o3mx3@dhcp22.suse.cz> <20171002192814.sad75tqklp3nmr4m@dhcp22.suse.cz> <20171002195601.3jeocmmzyf2jl3dw@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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