At 1:15 PM -0700 7/16/03, Rich Morin wrote:
At 8:33 PM +0100 7/16/03, David Cantrell wrote:
As far as the program is concerned, it's a complete copy.  But yes,
most modern virtual memory implementations will, I believe, do copy
on write.  I haven't actually tested this on OS X though :-)

OK, I'm curious; how _would_ one go about testing this?

The easiest way to do so is to snag the Darwin source and take a look at some of the low-level MMU manipulation code in the kernel. It should be pretty obvious whether (though not necessarily how :) it's done.
--
Dan


--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk

Reply via email to