From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail191.messagelabs.com (mail191.messagelabs.com [216.82.242.19]) by kanga.kvack.org (Postfix) with ESMTP id C0C7E6B0071 for ; Thu, 11 Feb 2010 10:08:10 -0500 (EST) Date: Thu, 11 Feb 2010 10:07:12 -0500 From: Nick Bowler Subject: Re: [patch 4/7 -mm] oom: badness heuristic rewrite Message-ID: <20100211150712.GA13140@emergent.ellipticsemi.com> References: <4B73833D.5070008@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: owner-linux-mm@kvack.org To: David Rientjes Cc: Rik van Riel , Andrew Morton , KAMEZAWA Hiroyuki , Nick Piggin , Andrea Arcangeli , Balbir Singh , Lubos Lunak , linux-kernel@vger.kernel.org, linux-mm@kvack.org List-ID: On 01:14 Thu 11 Feb , David Rientjes wrote: > On Wed, 10 Feb 2010, Rik van Riel 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. > As mentioned in the changelog, we've exported these minimum and maximum > values via a kernel header file since at least 2006. At what point do we > assume they are going to be used and not hardcoded into applications? > That was certainly the intention when making them user visible. The thing is, even when the macros are used, their values are hardcoded into programs once the code is run through a compiler. That's why it's called an ABI. -- Nick Bowler, Elliptic Technologies (http://www.elliptictech.com/) -- 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