summaryrefslogtreecommitdiff
path: root/src/mem/cache/mshr_queue.hh
diff options
context:
space:
mode:
authorMitch Hayenga <mitch.hayenga@arm.com>2014-05-09 18:58:46 -0400
committerMitch Hayenga <mitch.hayenga@arm.com>2014-05-09 18:58:46 -0400
commita15b713cba52d9d4d2c1204fef050fb3856ca33e (patch)
tree4bd5a1e3fda3aa33feb10cc475f8b8554f3d0958 /src/mem/cache/mshr_queue.hh
parentb9e6c260a01bab2b59d6eef4f45a642f57484275 (diff)
downloadgem5-a15b713cba52d9d4d2c1204fef050fb3856ca33e.tar.xz
mem: Squash prefetch requests from downstream caches
This patch squashes prefetch requests from downstream caches, so that they do not steal cachelines away from caches closer to the cpu. It was originally coded by Mitch Hayenga and modified by Aasheesh Kolli.
Diffstat (limited to 'src/mem/cache/mshr_queue.hh')
-rw-r--r--src/mem/cache/mshr_queue.hh6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mem/cache/mshr_queue.hh b/src/mem/cache/mshr_queue.hh
index 9177433af..7ab3c7e74 100644
--- a/src/mem/cache/mshr_queue.hh
+++ b/src/mem/cache/mshr_queue.hh
@@ -194,6 +194,12 @@ class MSHRQueue : public Drainable
void squash(int threadNum);
/**
+ * Deallocate top target, possibly freeing the MSHR
+ * @return if MSHR queue is no longer full
+ */
+ bool forceDeallocateTarget(MSHR *mshr);
+
+ /**
* Returns true if the pending list is not empty.
* @return True if there are outstanding requests.
*/