lkml.org 
[lkml]   [2000]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Avoiding OOM on overcommit...?
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/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.024 / U:0.940 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site