Re: Linux 2.2.15pre12

From: Andrea Arcangeli (andrea@suse.de)
Date: Wed Mar 01 2000 - 20:44:44 EST


On Fri, 3 Mar 2000, Jeff Garzik wrote:

>Isn't this what /proc/sys/vm/overcommit_memory is for??

Think if you have 10mbyte free. Two mallocs 9mbyte large will succeed
immediatly, but you won't have enough memory to allocate 18mbyte of ram
when you'll fault in the pages later.

overcommit is good because it avoids big mistakes, but we really don't try
to be strict in such area and that's not a so bad thing IMHO.

Andrea

-
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 : Tue Mar 07 2000 - 21:00:16 EST