On Fri, 4 Mar 2011, sunitha p wrote:
hi,
Have a doubt...can we have a block that is valid in L2 and same block valid
and dirty in L1.
I am finding a valid block in L2 and want to invalidating the same block in
L1. But found that the same block in L1 is dirty...is it possible..?
Because, if L1 writes to a block, it has to invalidate the same block on
other caches...right..?
kindly help
--
Thanks & Regards
Sunitha.P
9092892876
Why do you think the block in L2 cache needs to be invalidated? This would
only be required in case L1 and L2 caches are exclusive to each other. In
case L2 cache includes the L1 cache, then it is possible that L1 has a
block that is in dirty state and the same block is also in L2 cache.
Whenever L1 cache would evict the block, the block in L2 cache would be
over written.
Nilay
_______________________________________________
m5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users