Re: Linux 2.2.15pre12

From: Rik van Riel (riel@conectiva.com.br)
Date: Fri Mar 03 2000 - 14:52:15 EST


On Fri, 3 Mar 2000, Alan Cox wrote:

        [memory non-overcommit]
> Doing it perfectly is hard - very hard and I've yet to see
> anyone get it right in the Unix world. Doing the general case is
> not so bad. Basically whenever you create/destroy/modify a VMA
> you must ensure that there is memory or swap for the VMA.

We do that now. Problem is that we don't keep track of pages
that aren't allocated yet for other users. Or COW pages, or
kernel pages, or ...

I guess we could build a system which does keep track of
everything, but I don't think many people will want to use
it. Imagine needing 3 MB of swap for every apache child
being forked ... (ditto for mysql, sendmail, ...)

regards,

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 : Tue Mar 07 2000 - 21:00:15 EST