lkml.org 
[lkml]   [2000]   [Mar]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Linux 2.2.15pre12
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/

\
 
 \ /
  Last update: 2005-03-22 13:56    [from the cache]
©2003-2011 Jasper Spaans