From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755182AbZENWA1 (ORCPT ); Thu, 14 May 2009 18:00:27 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753624AbZENWAP (ORCPT ); Thu, 14 May 2009 18:00:15 -0400 Received: from smtp-out.google.com ([216.239.33.17]:10455 "EHLO smtp-out.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752420AbZENWAO (ORCPT ); Thu, 14 May 2009 18:00:14 -0400 DomainKey-Signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=date:from:x-x-sender:to:cc:subject:in-reply-to:message-id: references:user-agent:mime-version:content-type:x-system-of-record; b=DwD+Mff1X7KrzG2Wn7Hnkkb2W1qtjuThAZpwBPSWJPAUFmaYamIxTGvONMP5bbUDt 5PnKwuZcDARnf4sHzJyGw== Date: Thu, 14 May 2009 15:00:07 -0700 (PDT) From: David Rientjes X-X-Sender: rientjes@chino.kir.corp.google.com To: Dave Hansen cc: Christoph Lameter , Pavel Machek , Andrew Morton , Greg Kroah-Hartman , Nick Piggin , Mel Gorman , Peter Ziljstra , San Mehat , Arve Hj?nnev?g , linux-kernel@vger.kernel.org Subject: Re: Misleading OOM messages In-Reply-To: <1242337042.28440.34.camel@nimitz> Message-ID: References: <20090514092909.GG1365@ucw.cz> <1242333519.15391.210.camel@nimitz> <1242335120.15391.242.camel@nimitz> <1242337042.28440.34.camel@nimitz> User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-System-Of-Record: true Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 14 May 2009, Dave Hansen wrote: > > > - printk(KERN_ERR "%s: kill process %d (%s) score %li or a child\n", > > > + printk(KERN_ERR "No available memory %s: " > > > + "kill process %d (%s) score %li or a child\n", > > > message, task_pid_nr(p), p->comm, points); > > > > "No available memory" still suggests that plugging in more memory is the > > right solution. > > To me it at least adds the fact that more should be made *available* and > not just that you're out of it. So, definitely not perfect, but better > than "out". > I think "no allowable memory" followed by information on what is and is not allowed in that specific context would remove any ambiguity.