lkml.org 
[lkml]   [2000]   [Mar]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Overcomittable memory
On Thu, 16 Mar 2000, James Sutherland wrote:

> The problem is, that fork() allocates memory - the same amount as the
> parent process has allocated. If you want to honour this without
> overcommit, you must disable COW - otherwise you've overcommitted your
> memory.

Of course not. COW is simply a speed optimization. You can still allocate
the pages at fork time but delay the actual copying until write time. COW
is orthogonal to the allocation (or at least the accounting) of pages.

Peter
--
Peter Svensson ! Pgp key available by finger, fingerprint:
<petersv@psv.nu> ! 8A E9 20 98 C1 FF 43 E3 07 FD B9 0A 80 72 70 AF
<petersv@df.lth.se> !
------------------------------------------------------------------------
Remember, Luke, your source will be with you... always...



-
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:57    [W:0.182 / U:1.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site