From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756316Ab0BKPH4 (ORCPT ); Thu, 11 Feb 2010 10:07:56 -0500 Received: from dsl-67-204-24-19.acanac.net ([67.204.24.19]:45223 "EHLO emergent.ellipticsemi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1756146Ab0BKPHz (ORCPT ); Thu, 11 Feb 2010 10:07:55 -0500 Date: Thu, 11 Feb 2010 10:07:12 -0500 From: Nick Bowler 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 Subject: Re: [patch 4/7 -mm] oom: badness heuristic rewrite Message-ID: <20100211150712.GA13140@emergent.ellipticsemi.com> Mail-Followup-To: David Rientjes , Rik van Riel , Andrew Morton , KAMEZAWA Hiroyuki , Nick Piggin , Andrea Arcangeli , Balbir Singh , Lubos Lunak , linux-kernel@vger.kernel.org, linux-mm@kvack.org References: <4B73833D.5070008@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Elliptic Technologies Inc. User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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/)