Re: OOM and my .02 cents

From: Simon Richter (Simon.Richter@phobos.fachschaften.tu-muenchen.de)
Date: Wed Oct 25 2000 - 05:12:33 EST


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/



This archive was generated by hypermail 2b29 : Tue Oct 31 2000 - 21:00:15 EST