-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviews.gem5.org/r/1275/#review2959
-----------------------------------------------------------



src/mem/cache/tags/cacheset.cc
<http://reviews.gem5.org/r/1275/#comment3183>

    There must be a way to do this without the loop.


- Ali Saidi


On June 18, 2012, 4:17 p.m., Lena Olson wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://reviews.gem5.org/r/1275/
> -----------------------------------------------------------
> 
> (Updated June 18, 2012, 4:17 p.m.)
> 
> 
> Review request for Default.
> 
> 
> Description
> -------
> 
> 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.
> 
> 
> Diffs
> -----
> 
>   src/mem/cache/tags/cacheset.hh fa77985a87c6ff77284ed9bdd4ae304b2e373666 
>   src/mem/cache/tags/cacheset.cc fa77985a87c6ff77284ed9bdd4ae304b2e373666 
>   src/mem/cache/tags/lru.cc fa77985a87c6ff77284ed9bdd4ae304b2e373666 
> 
> Diff: http://reviews.gem5.org/r/1275/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Lena Olson
> 
>

_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to