diff options
author | Nikos Nikoleris <nikos.nikoleris@arm.com> | 2018-05-10 11:49:09 +0100 |
---|---|---|
committer | Nikos Nikoleris <nikos.nikoleris@arm.com> | 2018-05-31 15:11:04 +0000 |
commit | a8ac84cdd39b7a37c0c9966e49eb3927f2e6abec (patch) | |
tree | f6eca538da755c20c76abeb228566da708d6475f /util/qdo | |
parent | 4976ff51d711ac999afffafe0fd701a2d8997999 (diff) | |
download | gem5-a8ac84cdd39b7a37c0c9966e49eb3927f2e6abec.tar.xz |
mem-cache: Delegate block invalidation to block allocation
For a block replacement we first select a victim block, we invalidate
it and then populate it with the new information. Prior to this change
BaseTags::insertBlock() did the invalidation and filled in the block
with the new information. Now that the replacements stat is moved to
the BaseCache, insertBlock does not need to perform the invalidation
and as a result we can unify the block eviction code in BaseCache.
Change-Id: I5bdf00b2dab2752ed2137ab7201ed1dc451333b3
Reviewed-on: https://gem5-review.googlesource.com/10429
Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br>
Diffstat (limited to 'util/qdo')
0 files changed, 0 insertions, 0 deletions