Re: Avoiding OOM on overcommit...?

From: Alexander Viro (viro@math.psu.edu)
Date: Fri Mar 24 2000 - 16:15:17 EST

  • Next message: Mike A. Harris: "Re: VM modules in kernel?"

    On Fri, 24 Mar 2000, David Whysong wrote:

    > 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.
    > */

    RTFComments. Sharing of text pages is unrelated to overcommit.

    -
    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 24 2000 - 16:30:47 EST