'Write allocation policy with caches [duplicate]
I was just wondering about in write allocation policy of caches, first we access data from main memory and put into cache and then update in the cache. If anyway we use write back policy to counter cache coherency then after updating data into cache we don't have to update simultaneously in the main memory. But I am not able to understand why are we fetching old data from memory to cache first and then updating in case of write miss and we use write allocation with write back policy, why not directly put that data into cache itself.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
