Review Board 2.0.15


Cache: Fix the LRU policy for classic memory hierarchy

Review Request #1275 - Created June 18, 2012 and submitted

Information
Lena Olson
gem5
default
Reviewers
Default
Changeset 9071:7526dad15b35
---------------------------
Cache: Fix the LRU policy for classic memory hierarchy

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.

   

Issue Summary

1 1 0 0
Description From Last Updated Status
There must be a way to do this without the loop. Ali Saidi June 18, 2012, 12:23 p.m. Open
Review request changed
Updated (June 29, 2012, 2:28 a.m.)

Status: Closed (submitted)