On Monday 12 April 2010 22:30:01 Ben Kloosterman wrote: >>On Fri, Apr 09, 2010 at 10:48:07AM +0800, Ben Kloosterman wrote: >>>Copy on fork is expensive, and if you are going to do fork+exec then >>>why bother copying at all? vfork+exec works fine for that. >> >>fork is supposed to be a cheap operation. > > What did Unix do with fork before copy on write or non copy on write > architectures ?
it's why vfork was introduced -- forks used to be expensive. it isnt really an architecture issue so much as researching new mmu tricks. -mike
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ uClinux-dev mailing list uClinux-dev@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by uclinux-dev@uclinux.org To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev