mem-ruby: Use check_on_cache_probe to protect locked lines from eviction
authorPouya Fotouhi <pfotouhi@ucdavis.edu>
Wed, 27 Feb 2019 21:47:57 +0000 (13:47 -0800)
committerPouya Fotouhi <pfotouhi@ucdavis.edu>
Mon, 12 Aug 2019 18:17:56 +0000 (18:17 +0000)
commite424be8281cfca6b05297a9d51ca979b555bdfca
tree62f2ab1c081a6fff4f5c286517839c78715b56e8
parentfd95c6848501c01ee1ad1061ae91aebe455913cb
mem-ruby: Use check_on_cache_probe to protect locked lines from eviction

This change uses check_on_cache_probe statement to check if the cacheline
subject to eviction is locked in MESI Two Level. Other protocols should
be updated accordingly.

Signed-off-by: Pouya Fotouhi <pfotouhi@ucdavis.edu>
Change-Id: Idcdbc8ee528eb5e4e2f8d56a268a3a92eadd95b1
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/16809
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/mem/protocol/MESI_Two_Level-L1cache.sm