|
|
>> If the hardware didn't enforce cache coherence, applications would work
>> perfectly on a uniprocessor and then break spectacularly on a
>> multiprocessor.
>
> In what way would it break, given the OS inserts a memory barrier when
> it switches tasks?
It's not about task switches, it's about two tasks running on different
cores trying to communicate through memory. If the cores didn't
automatically synchronise their caches, that wouldn't work at all.
Post a reply to this message
|
|