Lab: Copy-on-Write Fork for xv6

ID: 6-1810-and-fall-2022/lab-copy-on-write-fork-for-xv6

Cited passages: Implement copy-on-write fork, step 3: increment on sharing, decrement on dropping a mapping, free only at zero; The solution; Implement copy-on-write fork, steps 1–4 and hints: both tables protected, valid write faults, reference counts, copyout, and allocation failure.

New to topics? Read the docs here!