Cache: Fix an issue with LRU when bonus block is used to complete transaction.
authorAli Saidi <Ali.Saidi@ARM.com>
Thu, 1 Mar 2012 23:26:31 +0000 (17:26 -0600)
committerAli Saidi <Ali.Saidi@ARM.com>
Thu, 1 Mar 2012 23:26:31 +0000 (17:26 -0600)
commitd907d0ec723538c7969bf8f2f2d6f29439b02985
treef5a2fc7545c1926e66afed6f3da6dcb5e2ab07e1
parent86d1042d9fabdea7afb8808d4f8395d9e41fdf75
Cache: Fix an issue with LRU when bonus block is used to complete transaction.

The block is never inserted because it's the one extra block in the cache, but
it can be invalidated twice in a row. In that case the block doesn't have a
new master id (beacuse it was never inserted), however it is valid and
the accounting goes wrong at that point.
src/mem/cache/cache_impl.hh