Dirty Bits for Write-Back Caches
Byte
Byte
tag of A
Memory
Proc.
Tag
Data Block
D
V
tag of B
<A>
<A+1>
<B>
<B+1>
0
1
0
1
0
0
0
1
0
0
0
0
When the line corresponding to A is replaced,
its data block has to be written to main memory
since its dirty bit is set.
Previous slide
Next slide
Back to first slide
View graphic version