←back to thread

169 points hunvreus | 1 comments | | HN request time: 0.339s | source
Show context
simonklitj ◴[] No.43653932[source]
Interesting read—thanks! One question: in the CoW example, if VM A modifies the data post-fork, what does VM B see when it later copies that data? Does it get the original data from the time of the fork, or VM A’s modified version?
replies(1): >>43655050 #
CompuIves ◴[] No.43655050[source]
I talk a bit about this here: https://codesandbox.io/blog/cloning-microvms-using-userfault.... Before VM A updates its data, the data is copied over to VM B if VM B hadn't written/read that data yet.
replies(1): >>43655267 #
1. simonklitj ◴[] No.43655267[source]
clever! Thank you.