From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail144.messagelabs.com (mail144.messagelabs.com [216.82.254.51]) by kanga.kvack.org (Postfix) with ESMTP id B7C766B0047 for ; Thu, 11 Feb 2010 18:38:03 -0500 (EST) Date: Thu, 11 Feb 2010 15:37:24 -0800 From: Andrew Morton Subject: Re: [patch 4/7 -mm] oom: badness heuristic rewrite Message-Id: <20100211153724.d4a3e2aa.akpm@linux-foundation.org> In-Reply-To: References: <4B73833D.5070008@redhat.com> <20100211134343.4886499c.akpm@linux-foundation.org> <20100211143105.dea3861a.akpm@linux-foundation.org> <20100211151135.91586cd1.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: Rik van Riel , KAMEZAWA Hiroyuki , Nick Piggin , Andrea Arcangeli , Balbir Singh , Lubos Lunak , linux-kernel@vger.kernel.org, linux-mm@kvack.org List-ID: On Thu, 11 Feb 2010 15:31:14 -0800 (PST) David Rientjes wrote: > > There _are_ things we can do though. Detect a write to the old file and > > emit a WARN_ON_ONCE("you suck"). Wait a year, turn it into > > WARN_ON("you really suck"). Wait a year, then remove it. > > > > Ok, I'll use WARN_ON_ONCE() to let the user know of the deprecation and > then add an entry to Documentation/feature-removal-schedule.txt. A printk_once() would be better - WARN() generates a big stack spew which often is wholly irrelevant. -- 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