Skip to content
CodeWiki
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
Search
⌘K
English
English
Chinese
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
English
English
Chinese
Practice
/
Quiz
/
CS foundations
/
Virtual memory
After fork, why can a child write a private mapping without changing the parent’s value?
from Virtual memory
C++23
intermediate
3 min
After fork, why can a child write a private mapping without changing the parent’s value?
The pipe automatically restores the parent page.
The child receives a new virtual address for every page.
Copy-on-write preserves private semantics by separating backing when a shared page is written.
Private mappings are always copied eagerly before fork returns.
Check
Ask AI about this kata
Report an error
next kata
Which statement about a page fault is correct?
Quiz
A new version is available
Reload