Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
On-Demand-Fork: Fast Fork for Memory-Intensive and Latency-Sensitive Apps [pdf] (purdue.edu)
2 points by PaulHoule on Feb 4, 2024 | hide | past | favorite | 1 comment


"At its inception, fork was hailed as an efficient system call due to its use of copy-on-write on memory shared between parent and child processes"

That is incorrect. Unix v6 code is available, and a fork definitely copies the parent's entire address space. COW in forks didn't happen until the late 80s-early 90s. To reinforce this, note that BSD added a "vfork" system call that did not copy the parent address space, and blocked the parent process until the child exec'ed because of this.

Fork/exec has always been controversial. One of the main knocks is the inefficiency of a fork throwing away an entire address space.

The rest of the paper may be okay, but the beginning is sloppy.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: