cs-pub-ro / operating-systems

Teaching resources (OER) for Operating Systems
https://cs-pub-ro.github.io/operating-systems/
Other
7 stars 55 forks source link

chapters/compute/copy-on-write: Create task to showcase COW between related processes. #140

Open teodutu opened 1 week ago

teodutu commented 1 week ago

Create an exercise where a parent process makes three mmap() calls: one with MAP_PRIVATE and two with MAP_SHARED (one for an integer value, and another for a buffer). After calling fork():