Conclusion: vfork is totally weird :-)
No, it just requires you to be much more careful.
But on the bright side, it's many times fater than fork,
and exists on NOMMU too.
Now you've got me curious about something different. Is vfork really
that much faster on
modern systems with MMUs? Certainly I could see it being faster on a system
without an MMU, where presumably there's no such thing as copy-on-write,
but with
an MMU does it really take a noticable amount of time just to copy the
page tables for
reasonable-sized processes?
Please try attached patch, it should fix the bug.
Will do.
--Doug
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox