From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail172.messagelabs.com (mail172.messagelabs.com [216.82.254.3]) by kanga.kvack.org (Postfix) with ESMTP id 1DC8F6B01D9 for ; Tue, 8 Jun 2010 20:06:40 -0400 (EDT) Date: Tue, 8 Jun 2010 17:06:30 -0700 From: Andrew Morton Subject: Re: [patch -mm 01/18] oom: filter tasks not sharing the same cpuset Message-Id: <20100608170630.80753ed1.akpm@linux-foundation.org> In-Reply-To: References: <20100607084024.873B.A69D9226@jp.fujitsu.com> <20100608162513.c633439e.akpm@linux-foundation.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org To: David Rientjes Cc: KOSAKI Motohiro , Rik van Riel , Nick Piggin , Oleg Nesterov , KAMEZAWA Hiroyuki , Balbir Singh , linux-mm@kvack.org List-ID: On Tue, 8 Jun 2010 16:54:31 -0700 (PDT) David Rientjes wrote: > On Tue, 8 Jun 2010, Andrew Morton wrote: > > > And I wonder if David has observed some problem which the 2010 change > > fixes! > > > > Yes, as explained in my changelog. I'll paste it: > > Tasks that do not share the same set of allowed nodes with the task that > triggered the oom should not be considered as candidates for oom kill. > > Tasks in other cpusets with a disjoint set of mems would be unfairly > penalized otherwise because of oom conditions elsewhere; an extreme > example could unfairly kill all other applications on the system if a > single task in a user's cpuset sets itself to OOM_DISABLE and then uses > more memory than allowed. OK, so Nick's change didn't anticipate things being set to OOM_DISABLE? OOM_DISABLE seems pretty dangerous really - allows malicious unprivileged users to go homicidal? -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org