public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* on the concept of COW
@ 2004-11-20 10:38 Jagadeesh Bhaskar P
  2004-11-20 11:39 ` Antonio Vargas
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Jagadeesh Bhaskar P @ 2004-11-20 10:38 UTC (permalink / raw)
  To: LKML

Hi,

 When a process forks, every resource of the parent, including the
virtual memory is copied to the child process. The copying of VM uses
copy-on-write(COW). I know that COW comes when a write request comes,
and then the copy is made. Now my query follows:

How will the copy be distributed. Whether giving the child process a new
copy of VM be permanent or whether they will be merged anywhere? And
shouldn't the operations/updations by one process be visible to the
other which inherited the copy of the same VM?

How can this work? Can someone please help me on this regard?

-- 
With regards,

Jagadeesh Bhaskar P
R&D Engineer
HCL Infosystems Ltd
Pondicherry
INDIA


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-11-23  3:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-20 10:38 on the concept of COW Jagadeesh Bhaskar P
2004-11-20 11:39 ` Antonio Vargas
2004-11-22  7:35 ` Helge Hafting
2004-11-22 20:44 ` Bill Davidsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox