Re: Misleading OOM messages

From: David Rientjes
Date: Thu May 14 2009 - 18:00:30 EST


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.
--
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/