How fork() duplicates a process without copying its memory

작성자

카테고리:

← 피드로
r/programming · /u/Ok_Marionberry8922 · 2026-07-20 개발(SW)

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…

원문 보기 ↗

코멘트

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다