summaryrefslogtreecommitdiff
path: root/src/mem/cache/tags/cacheset.cc
AgeCommit message (Collapse)Author
2012-06-29Cache: Fix the LRU policy for classic memory hierarchyLena Olson
The LRU policy always evicted the least recently touched way, even if it contained valid data and another way was invalid, as can happen if a block has been invalidated by coherance. This can result in caches never warming up even though they are replacing blocks. This modifies the LRU policy to move blocks to LRU position on invalidation.
2010-02-23cache: pull CacheSet out of LRU so that other tags can use associative sets.Lisa Hsu