Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751204AbdIKIth (ORCPT ); Mon, 11 Sep 2017 04:49:37 -0400 Received: from mx2.suse.de ([195.135.220.15]:51163 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750989AbdIKItf (ORCPT ); Mon, 11 Sep 2017 04:49:35 -0400 Date: Mon, 11 Sep 2017 10:49:31 +0200 From: Michal Hocko To: Christopher Lameter Cc: Roman Gushchin , linux-mm@kvack.org, Vladimir Davydov , Johannes Weiner , Tetsuo Handa , David Rientjes , Andrew Morton , Tejun Heo , kernel-team@fb.com, cgroups@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [v7 2/5] mm, oom: cgroup-aware OOM killer Message-ID: <20170911084931.zezai6aufcfi2ddt@dhcp22.suse.cz> References: <20170904142108.7165-1-guro@fb.com> <20170904142108.7165-3-guro@fb.com> 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 Content-Length: 668 Lines: 17 On Thu 07-09-17 11:18:18, Cristopher Lameter wrote: > On Mon, 4 Sep 2017, Roman Gushchin wrote > > > To address these issues, cgroup-aware OOM killer is introduced. > > You are missing a major issue here. Processes may have allocation > constraints to memory nodes, special DMA zones etc etc. OOM conditions on > such resource constricted allocations need to be dealt with. Killing > processes that do not allocate with the same restrictions may not do > anything to improve conditions. memcg_oom_badness tries to be node aware - very similar to what the oom_badness does for the regular oom killer. Or do you have anything else in mind? -- Michal Hocko SUSE Labs