From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755952AbZENVhk (ORCPT ); Thu, 14 May 2009 17:37:40 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753354AbZENVha (ORCPT ); Thu, 14 May 2009 17:37:30 -0400 Received: from e38.co.us.ibm.com ([32.97.110.159]:33158 "EHLO e38.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753244AbZENVha (ORCPT ); Thu, 14 May 2009 17:37:30 -0400 Subject: Re: Misleading OOM messages From: Dave Hansen To: Christoph Lameter Cc: David Rientjes , Pavel Machek , Andrew Morton , Greg Kroah-Hartman , Nick Piggin , Mel Gorman , Peter Ziljstra , San Mehat , Arve Hj?nnev?g , linux-kernel@vger.kernel.org In-Reply-To: References: <20090514092909.GG1365@ucw.cz> <1242333519.15391.210.camel@nimitz> <1242335120.15391.242.camel@nimitz> Content-Type: text/plain Date: Thu, 14 May 2009 14:37:22 -0700 Message-Id: <1242337042.28440.34.camel@nimitz> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2009-05-14 at 17:30 -0400, Christoph Lameter wrote: > 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". -- Dave