Lab: Copy-on-Write Fork for xv6
= Lab: Copy-on-Write Fork for xv6
{c}
Online text: https://pdos.csail.mit.edu/6.1810/2022/labs/cow.html
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.