RE: rfork() and copy on write
"Walker, Bruce J (HP-Labs)" <[email protected]>
| Newsgroups | gmane.linux.cluster.ssic.user |
|---|---|
| Message-ID | <3689AF909D816446BA505D21F1461AE405A8BB69@cacexc04.americas.cpqcorp.net> |
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=lnk&kid0944&bid$1720&dat1642