lkml.org 
[lkml]   [2000]   [Oct]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: OOM and my .02 cents
On Mon, 23 Oct 2000, Joe wrote:

> 1) If it does not already do this it should probably start with
> warnings like printk statements. (I'll hope it does).

A user will only see printks if he sits at the console (=> desktop
machine) and there is no X running that has grabbed the graphics board (=>
not a desktop machine). You see the contradiction? :-)

[Adding something to X so no new programs are started when nearing OOM]

> This is assuming the X group wanted to do so. Personally if they did
> not I'd do it in Gtk or Xaw or something myself.

This is impossible to do in X, even if someone wanted to (I doubt someone
would add OS specific code to "fix" users who have no idea how to add
enough swapspace to their systems), as "X doesn't start
programs. Programs start programs" (pun indented).

What *could* be done is the infamous swapond that creates new swap areas
in the filesystem on demand.

Simon

--
GPG public key available from http://phobos.fs.tum.de/pgp/Simon.Richter.asc
Fingerprint: A319 A60F 20F6 C8A4 3C86 54B4 99CD AC6E 79D1 B1E7
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!

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

\
 
 \ /
  Last update: 2005-03-22 12:41    [W:0.029 / U:1.548 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site