summaryrefslogtreecommitdiff
path: root/src/sim
diff options
context:
space:
mode:
authorJing Qu <jqu32@wisc.edu>2019-09-19 17:41:57 -0500
committerJING QU <jqu32@wisc.edu>2019-09-25 18:47:54 +0000
commitaff2cad4bed219a6827c26fd632c8cb3904752e6 (patch)
tree3790c3d296bd0d1e244eaf1ca43a377d28c94451 /src/sim
parentf97cf54db7a6f7642cc9fd122f23c4396c39bcf0 (diff)
downloadgem5-aff2cad4bed219a6827c26fd632c8cb3904752e6.tar.xz
mem-ruby: prevent cacheProbe being called multiple times
The cacheProbe() function will return the victim entry, and it gets called for multiple times in trigger function in a single miss. This will cause a problem when we try to add a new replacement policy to the Ruby system. Certain policy, like RRIP, will modify the block information every time the getVictim() function gets called. To prevent future problems, we need to store the victim entry, so that we only call it once in one miss. Change-Id: Ic5ca05f789d9bbfb963b8e993ef707020f243702 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/21099 Reviewed-by: Jason Lowe-Power <jason@lowepower.com> Reviewed-by: Pouya Fotouhi <pfotouhi@ucdavis.edu> Maintainer: Jason Lowe-Power <jason@lowepower.com> Tested-by: kokoro <noreply+kokoro@google.com>
Diffstat (limited to 'src/sim')
0 files changed, 0 insertions, 0 deletions