Re: Overcommitable memory??

From: James Sutherland (jas88@cam.ac.uk)
Date: Fri Mar 24 2000 - 07:42:14 EST


On 21 Mar 2000 21:6:10 +0100, you wrote:

>Den 20-Mar-00 04:59:33 skrev David Whysong følgende om "Re: Overcommitable memory??":
>> On 19 Mar 2000, Rask Ingemann Lambertsen wrote:
>>>
>>> So what is /proc/sys/vm/overcommit_memory for, if not to make
>>>overcommitment of memory an _option_?
>
>> It has already been shown on this list that
>
>> # echo 0 > /proc/sys/vm/overcommit_memory
>
>> does not, in fact, disable memory overcommit.
>
> I know, I did it. So do we agree that it is a bug when setting
>/proc/sys/vm/overcommit_memory to 0 does not disable memory overcommit?

No, because that's not what it is SUPPOSED to do.

Really, it has the wrong name. What that file REALLY controls is
switching sanity-checking on and off. With it set to >0, ANY memory
request is granted, however ridiculous. With it =0, limited checks are
performed.

James.

-
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:12 EST