On Mon, 15 Jun 2015 18:19:06 -0400, bitwise wrote:

> When memory is never cleaned up, can't that make fork() really slow?
> Doesn't fork copy all memory of the entire process?

on any decent OS fork(2) does CoW (copy-on-writing), so forking is 
lightning fast. also, any decent OS knows about "fork-and-replace" 
pattern, so it throws away old process pages on replacing.

Attachment: signature.asc
Description: PGP signature

Reply via email to