Re: Avoiding OOM on overcommit...?

From: Jesse Pollard (pollard@tomcat.admin.navo.hpc.mil)
Date: Fri Mar 24 2000 - 16:29:46 EST


David Whysong <dwhysong@physics.ucsb.edu>:
> On Fri, 24 Mar 2000, Marco Colombo wrote:
> >On 22 Mar 2000, Olaf Weber wrote:
[SNIP]
> >IFAIK, older linux versions had no overcommitting. The kernel *evolved*
> >from a non-overcommitting mm to a overcommitting one.
>
> No, it has overcommitted memory almost since the beginning. These comments
> are from linux 1.0.0, in mm/memory.c. Note the dates:
>
> /*
> * demand-loading started 01.12.91 - seems it is high on the list of
> * things wanted, and it should be easy to implement. - Linus
> */
>
> /*
> * Ok, demand-loading was easy, shared pages a little bit tricker. Shared
> * pages started 02.12.91, seems to work. - Linus.
> *
> * Tested sharing by executing about 30 /bin/sh: under the old kernel it
> * would have taken more than the 6M I have free, but it worked well as
> * far as I could see.
> *
> * Also corrected some "invalidate()"s - I wasn't doing enough of them.
> */

I thought this was referring to shared text....
-------------------------------------------------------------------------
Jesse I Pollard, II
Email: pollard@navo.hpc.mil

Any opinions expressed are solely my own.

-
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 : Fri Mar 31 2000 - 21:00:14 EST