On Sun, 20 Aug 2000, Michael Rothwell wrote:
> David Ford wrote:
>
> > The kernel does try to kill off programs when it runs out of memory but
> > unless it picks the memory pig, then that program will probably immediately
> > grab any memory the kernel just freed.
>
> Killing, for instance, kswapd. On my machine last week, the
> kernel started killing processes. Its first choice was kswapd,
> and then it went on to my window manager and about 10 other
> programs.
I have a patch which seems to select the 'right' process to
kill almost all of the time. In fact, I've had this patch for
well over a year now and I've submitted it to the list several
times.
Every time a flamewar ensued and the patch didn't get merged.
(and no, I'm not going to submit it again, I have better things
to do with my time than getting into the next flamewar)
regards,
Rik
--
"What you're running that piece of shit Gnome?!?!"
-- Miguel de Icaza, UKUUG 2000
http://www.conectiva.com/ http://www.surriel.com/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo _at_ vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
Follow-Ups:
- Re: Out of memory?Willy Tarreau <willy _at_ novworld.Novecom.Fr>
- Re: Out of memory?Michael Rothwell <rothwell _at_ flyingbuttmonkeys.com>
- Prev by Date: Re: Compile problem on Alpha
- Next by Date: Re: abstract file (support multi-part)
- Prev by thread: Re: Out of memory?
- Next by thread: Re: Out of memory?
- Indexes:[Main][Thread]