Re: rfork() and copy on write

Jack de Valpine <[email protected]>
Newsgroups gmane.linux.cluster.ssic.user
Message-ID <[email protected]>
Hi Bruce,

Great! This makes sense. Thanks for the clarification.

-Jack

Walker, Bruce J (HP-Labs) wrote:
> Yes and no.  The child has the same image as the parent (as in fork) and
> any changes made by either don't effect the other (the copy of write
> semantic).  So the semantics of rfork at identical to fork.  However,
> the implementation is to copy all the pages to the new node so the
> parent and child are not physically sharing the same page.
>
> Hope that helps,
>   bruce
>  
>
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Jack
> de Valpine
> Sent: Tuesday, April 18, 2006 9:22 AM
> To: [email protected]
> Subject: [SSI-users] rfork() and copy on write
>
> Hi,
>
> I just want to understand the following. In a normal call to fork(), a
> child process gets started and gets a copy of the parents memory space. 
> Does rfork work in an analogous manner? So if the parent process is
> started on node 1 for example and then rforks off a series of children
> onto nodes 2 and 3 is the memory shared on a copy on write basis?
>
> Thanks,
>
> -Jack de Valpine
>
> --
> # Jack de Valpine
> # president
> #
> # visarc incorporated
> # http://www.visarc.com
> #
> # channeling technology for superior design and construction
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting
> language
> that extends applications into web and mobile media. Attend the live
> webcast
> and join the prime developer group breaking into this new coding
> territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> _______________________________________________
> Ssic-linux-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ssic-linux-users
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live webcast
> and join the prime developer group breaking into this new coding territory!
> http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642
> _______________________________________________
> Ssic-linux-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ssic-linux-users
>
>
>   

-- 
# Jack de Valpine
# president
#
# visarc incorporated
# http://www.visarc.com
#
# channeling technology for superior design and construction




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.