[lkml]   [2000]   [Mar]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
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 Svensson ! Pgp key available by finger, fingerprint:
<> ! 8A E9 20 98 C1 FF 43 E3 07 FD B9 0A 80 72 70 AF
<> !
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
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:57    [W:0.133 / U:0.272 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site