public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* make OOM more "user friendly"
@ 2005-04-02 16:05 Diego Calleja
  2005-04-02 16:58 ` Matthias-Christian Ott
  0 siblings, 1 reply; 4+ messages in thread
From: Diego Calleja @ 2005-04-02 16:05 UTC (permalink / raw)
  To: akpm; +Cc: linux-kernel

When people gets OOM messages, many of them don't know what is happening or what
OOM means. This brief message explains it.

--- stable/mm/oom_kill.c.orig	2005-04-02 17:44:14.000000000 +0200
+++ stable/mm/oom_kill.c	2005-04-02 18:01:02.000000000 +0200
@@ -189,7 +189,8 @@
 		return;
 	}
 	task_unlock(p);
-	printk(KERN_ERR "Out of Memory: Killed process %d (%s).\n", p->pid, p->comm);
+	printk(KERN_ERR "The system has run Out Of Memory (RAM + swap), a process will be killed to free some memory\n");
+	printk(KERN_ERR "OOM: Killed process %d (%s).\n", p->pid, p->comm);
 
 	/*
 	 * We give our sacrificial lamb high priority and access to

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-04-02 17:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-02 16:05 make OOM more "user friendly" Diego Calleja
2005-04-02 16:58 ` Matthias-Christian Ott
2005-04-02 17:11   ` Diego Calleja
2005-04-02 17:36   ` Indrek Kruusa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox