Re: Avoiding OOM on overcommit...?

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


On Fri, 24 Mar 2000, David Whysong wrote:

> On Fri, 24 Mar 2000, Alexander Viro wrote:
> >RTFComments. Sharing of text pages is unrelated to overcommit.
>
> But demand loading certainly is related to overcommit, unless the kernel
> was careful to count how many pages it hasn't loaded yet?

There are _text_ pages. As in "ones that can be thrown away at any
moment". Check what part of the binaries is mapped with write allowed.
That's where demand loading may have something with 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 31 2000 - 21:00:14 EST