Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755839Ab0BKELV (ORCPT ); Wed, 10 Feb 2010 23:11:21 -0500 Received: from mx1.redhat.com ([209.132.183.28]:47695 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753328Ab0BKELU (ORCPT ); Wed, 10 Feb 2010 23:11:20 -0500 Message-ID: <4B73833D.5070008@redhat.com> Date: Wed, 10 Feb 2010 23:10:37 -0500 From: Rik van Riel Organization: Red Hat, Inc User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091209 Fedora/3.0-4.fc12 Lightning/1.0pre Thunderbird/3.0 MIME-Version: 1.0 To: David Rientjes CC: Andrew Morton , KAMEZAWA Hiroyuki , Nick Piggin , Andrea Arcangeli , Balbir Singh , Lubos Lunak , linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [patch 4/7 -mm] oom: badness heuristic rewrite References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1034 Lines: 25 On 02/10/2010 11:32 AM, David Rientjes wrote: > OOM_ADJUST_MIN and OOM_ADJUST_MAX have been exported to userspace since > 2006 via include/linux/oom.h. This alters their values from -16 to -1000 > and from +15 to +1000, respectively. That seems like a bad idea. Google may have the luxury of being able to recompile all its in-house applications, but this will not be true for many other users of /proc//oom_adj > +/* > + * Tasks that fork a very large number of children with seperate address spaces > + * may be the result of a bug, user error, or a malicious application. The oom > + * killer assesses a penalty equaling It could also be the result of the system getting many client connections - think of overloaded mail, web or database servers. -- All rights reversed. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/