Question: Assume you want to implement shared data with private modifications: As long two processes use some original data, they should access the same physical memory

Assume you want to implement shared data with private modifications: As long two processes use some original data, they should access the same physical memory (shared memory). As soon as one process modifies the data, that process will get its own, private copy of the data, and the modifications are performed on that private copy, not on the shared data.
(For example, you can implement such strategy with the MAP_PRIVATE option of the mmap system call).

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!