Stop being the product.
Become the owner.
or
sign uplog in

How fork() duplicates a process without copying its memory…

How fork() duplicates a process without copying its memory

A visual explainer on how copy-on-write makes `fork()` cheap.

A 10 GB process can fork almost instantly because Linux copies the page tables, shares the physical pages, marks them read-only, and only copies a page when one of the processes writes to it.

It also covers `fork()` \+ `exec()`, how Redis snapshots work, Android Zygote, lazy zero pages, and some CVEs
#dev #programming #technology
earnings
3,000 mlx total
$0  total
engagement
4 views
0 reactions

0 comments