mem-cache: Factor out multiple block eviction
authorDaniel R. Carvalho <odanrc@yahoo.com.br>
Wed, 12 Jun 2019 15:26:11 +0000 (17:26 +0200)
committerDaniel Carvalho <odanrc@yahoo.com.br>
Fri, 17 Jan 2020 16:31:03 +0000 (16:31 +0000)
commit7dce9e3782523e1b1989c50be194385b93603aea
tree47e9084bf1a6c5b229836a659d4e4a9e9b79956f
parentc5d87b0693f1f3cab8bf05ba5327986940cedf5b
mem-cache: Factor out multiple block eviction

Create a function to try to evict multiple blocks while checking for
transient state.

Change-Id: I6a879fa5e793cd92c4bdf4a258a133de4c865012
Signed-off-by: Daniel R. Carvalho <odanrc@yahoo.com.br>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/22607
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
src/mem/cache/base.cc
src/mem/cache/base.hh