Charles Forsyth wrote:
> you'll need to ensure that each fork reserves as many physical pages as are 
> currently
> shared in the data space, for the life of the shared data,
> so that every subsequent copy-on-write is guaranteed to succeed.
> this will prevent some large processes from forking to exec much smaller 
> images.

That's why many OSes have a "spawn" primitive that combines fork-and-exec.

Reply via email to