Re: [PATCH] VM fix for 2.4.0-test9 & OOM handler

From: Rogier Wolff (
Date: Tue Oct 10 2000 - 09:41:17 EST

Linus Torvalds wrote:
> Basically, the only thing _I_ think X can do is to really say "oh, please
> don't count my memory, because everything I do I do for my clients, not
> for myself".
> THAT is my argument. Basically there is nothing we can reliably account.
> So we might as well fall back on just saying "X is more important than
> some random client", and have a mm niceness level. Which right now is
> obviously approximated by the IO capabilities tests etc.


I ran my machine out of memory (without crashing by the way) this
weekend by loading a whole bunch of large images into netscape. I
noticed not being able to open more windows when I saw my swapspace
exhausted. I noticed the large netscape, and killed it.

At that moment my X was still taking 80Mb of RAM. I manually killed it
and restarted it to get rid of that memory.

So if Netscape can "pump" 40 extra megabytes of memory out of X, this
can be exploited.

Now we're back to the point that a heuristic can never be right all
the time......


** ** ** +31-15-2137555 **
*-- BitWizard writes Linux device drivers for any device you may have! --*
*       Common sense is the collection of                                *
******  prejudices acquired by age eighteen.   -- Albert Einstein ********
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

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