Child Faults After Write
Question Text
What causes the page faults registered by the child after the fifth step?
Question Answers
- The child writes data to the frames it previously shared with its parent and the copy-on-write mechanism copies and remaps them before writing said data
Demand paging lazily allocates pages but does not cause these page faults in copy-on-write.
Creating the child process inherently duplicates some frames
They are caused by the
loaderforking itself when creating the child processThey are caused by the
bashprocess forking itself when creating the child process