Re: Misleading OOM messages

From: Dave Hansen
Date: Thu May 14 2009 - 17:37:42 EST


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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/