fork's copy-on-write still copies page tables, slowing big processes

charliermarsh · x · 2026-11-25

Following up: fork's copy-on-write seems cheap, but the CoW setup itself is expensive — on Linux you still copy the page tables only to discard them immediately. Process creation thus scales with parent memory, which gets slow for a memory-heavy process like Codex.

Original post →

More from coding & agent

coding & agent channel →