Under a write-invalidate coherence protocol, what happens when a core writes to a block that other caches also hold?

Correct answer C. The other copies are invalidated before the write proceeds

Explanation

The writer gains exclusive ownership by sending an invalidation, so later reads by other cores miss and fetch the new value. Broadcasting the new value to all copies is the write-update approach, which wastes bandwidth when the other cores no longer need the data. Most commercial processors, using MESI or MOESI, rely on invalidation.

Report a problem

Answer checked How we write and check questions

Tip: press A, B, C or D to answer, and N for the next question.

Advertisement

Have a question about this answer?

Your email address will not be published. Required fields are marked *

Links and website addresses are not allowed in comments.