Re: Overcommitable memory??

From: Rik van Riel (riel@conectiva.com.br)
Date: Mon Mar 13 2000 - 10:52:54 EST


On Mon, 13 Mar 2000, David Whysong wrote:
> On 13 Mar 2000, Rask Ingemann Lambertsen wrote:
> >
> >Apps would be told that the system is out of memory instead of just
> >getting a SIGKILL'ed out of the blue sky. Apps getting NULL from
> >malloc() can react appropriately, such as saving your files to disk,
>
> And please explain why my simulation -- that may have started
> many weeks (or months) ago -- should "just exit" because some
> random 5-minute old Mathematica process went and allocated half
> a gigabyte of memory?

This is exactly the situation from which my OOM killer patch
will save you. People have tested it and it works great in
practice. Speed overhead on a running kernel is ZERO and the
size is increased by about two or three kilobytes...

Rik

--
The Internet is not a network of computers. It is a network
of people. That is its real strength.

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@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Mar 15 2000 - 21:00:25 EST