Consider the below program that shows a parent process using fork() to create a child process. Assume
Fantastic news! We've Found the answer you've been seeking!
Question:
- Consider the below program that shows a parent process using fork() to create a child process. Assume it runs on a Unix system that uses the Copy-on-Write technique and some form of simple paging (The details of how paging is implemented are not important).
- Describe how exactly the Copy-on-Write technique would be implemented.
- Give an estimate for how many operations (i.e., trap into kernel, allocate a new frame for the child, copy the contents over, map the child to the new frame) will be required for this program? Describe in details
Related Book For
Operating Systems Internals And Design Principles
ISBN: 9781292214290
9th Global Edition
Authors: Stallings William
Posted Date: