Question: The following data shows two processors and their read/write operations on different cache blocks (A and B initially 0). P1: A = 1; B =

The following data shows two processors and their read/write operations on different cache blocks (A and B initially 0).

P1: A = 1; B = 2; A+=2; B++;

P2: C = B; D = A;

List the possible values of C and D for an implementation that ensures both of the following consistency assumptions:

1. A write does not complete (and allow the next write to occur) until all processors have seen the effect of that write.

2. The processor does not change the order of any write with respect to any other memory access.

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!