Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755448AbdIGOnd (ORCPT ); Thu, 7 Sep 2017 10:43:33 -0400 Received: from resqmta-ch2-12v.sys.comcast.net ([69.252.207.44]:41884 "EHLO resqmta-ch2-12v.sys.comcast.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754273AbdIGOnc (ORCPT ); Thu, 7 Sep 2017 10:43:32 -0400 Date: Thu, 7 Sep 2017 09:43:30 -0500 (CDT) From: Christopher Lameter X-X-Sender: cl@nuc-kabylake To: David Rientjes cc: Roman Gushchin , nzimmer@sgi.com, holt@sgi.com, Michal Hocko , linux-mm@kvack.org, Vladimir Davydov , Johannes Weiner , Tetsuo Handa , Andrew Morton , Tejun Heo , kernel-team@fb.com, cgroups@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, sivanich@sgi.com Subject: Re: [v7 5/5] mm, oom: cgroup v2 mount option to disable cgroup-aware OOM killer In-Reply-To: Message-ID: References: <20170904142108.7165-1-guro@fb.com> <20170904142108.7165-6-guro@fb.com> <20170905134412.qdvqcfhvbdzmarna@dhcp22.suse.cz> <20170905143021.GA28599@castle.dhcp.TheFacebook.com> <20170905151251.luh4wogjd3msfqgf@dhcp22.suse.cz> <20170905191609.GA19687@castle.dhcp.TheFacebook.com> <20170906084242.l4rcx6n3hdzxvil6@dhcp22.suse.cz> <20170906174043.GA12579@castle.DHCP.thefacebook.com> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-CMAE-Envelope: MS4wfKn6nkzBHprw2A9gVKRdOVpKK5eqeSQcnPzsQ8LbathycYehZgoYA+KwgV+UGRDTav8lKTEwOXgmHpn73FMSXQb6X9/xjVCjuNOttzqFHREtaDocbk0T pFLo9k8mGppLpiwGlK/RVRJBpe9XkvNeGSMX4ko61EaXDMjVyufoFfVq2yc02oKJC7xjBTuNeBNY1QwEwgY2Jc12JINiFAREoYECNliLDEDvH9cTZ4HGjL7R 58M7bHaSoLhiooj1qc4irxkzma9fglXR3KVMfxwooXYw1X1Jz3qqfkX+Mn+l+FBOaYveVg6mkIL/d0k07GYrPHdLQlBCKrBPd8pkIpbWp6fpc1JmO0wKIAIm DsgrK98OnSbYyfhC2cBBbIjO+Ht1InvTOWJDHsshCwfpb/5D6TB+vbD1woY6d5TLluXibYSvgySDP6TjmoxCZ/TaNzhdJGV+OWcqkUZg0R7OHEuu4KeGwgPo /CSAOCakMo338T0D3fmixESOCYuektXK/jQDjcnm9bt6Os0PMOAdqsKVhV9bG6mHKUOyNCu/5pS4PBfENVDVhcejEFW/Vw9wLW8SQaOCAmqhfZC+mRSiFBHy lcktEdYeecY4U6klxnsgIJaTivqG0NQR5eoLVkV14lJLmQ== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1036 Lines: 25 On Wed, 6 Sep 2017, David Rientjes wrote: > > The oom_kill_allocating_task sysctl which causes the OOM killer > > to simple kill the allocating task is useless. Killing the random > > task is not the best idea. > > > > Nobody likes it, and hopefully nobody uses it. > > We want to completely deprecate it at some point. > > > > SGI required it when it was introduced simply to avoid the very expensive > tasklist scan. Adding Christoph Lameter to the cc since he was involved > back then. Really? From what I know and worked on way back when: The reason was to be able to contain the affected application in a cpuset. Multiple apps may have been running in multiple cpusets on a large NUMA machine and the OOM condition in one cpuset should not affect the other. It also helped to isolate the application behavior causing the oom in numerous cases. Doesnt this requirement transfer to cgroups in the same way? Left SGI in 2008 so adding Dimitri who may know about the current situation. Robin Holt also left SGI as far as I know.