Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> So the OS goes to all that trouble setting up a duplicate process only for all that hard work to be eliminated by running exec.

That's just it, creating a process that's an exact copy is the path of least resistance. Due to the way the VM system works in most modern hardware, it's much cheaper to create an exact copy of a virtual address space (you're just copying TLB entries) than it is to create a brand new one.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: