Copy-on-Write Fork in xv6: Implementation, Bugs, and Benchmarks
5d ago · 9 min read · Full implementation on GitHub. The Problem Every time a Unix process calls fork(), the kernel duplicates the parent's entire address space. On a process with 4096 pages of memory, that's 4096 kalloc()
Join discussion